-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c8245b
commit 2e93ab9
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env ys-0 | ||
|
||
require ys::taptest: :all | ||
|
||
use: 'two-fer' | ||
|
||
test:: | ||
- name: no name given | ||
code: two-fer/two-fer(nil) | ||
want: One for you, one for me. | ||
|
||
- name: a name given | ||
code: two-fer/two-fer('Alice') | ||
want: One for Alice, one for me. | ||
|
||
- name: another name given | ||
code: two-fer/two-fer('Bob') | ||
want: One for Bob, one for me. | ||
|
||
done: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SHELL := bash | ||
|
||
default: | ||
|
||
test: | ||
prove -v *-test.ys |