-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nuUnit should be callable from the nu cli, as a nu script and as a st…
…andalone via the shebang
- Loading branch information
1 parent
eb6bf30
commit b7811fa
Showing
3 changed files
with
42 additions
and
2 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
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,13 @@ | ||
export def "test 1" [] {} | ||
export def "test 2" [] {} | ||
export def "test 3" [] {} | ||
export def "test 4" [] {} | ||
export def "test 5" [] {} | ||
|
||
export def "verify json results" [] { | ||
let results = $in | from json | ||
print $results | ||
use std assert | ||
|
||
assert equal 5 ($results | length) | ||
} |