-
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.
- Loading branch information
1 parent
64e14b8
commit cd9d52e
Showing
2 changed files
with
421 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
setup (){ | ||
load 'test_helper/bats-support/load' | ||
load 'test_helper/bats-assert/load' | ||
|
||
# get the containing directory of this file | ||
# use $BATS_TEST_FILENAME instead of ${BASH_SOURCE[0]} or $0, | ||
# as those will point to the bats executable's location or the preprocessed file respectively | ||
DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )" | ||
# make executables in src/ visible to PATH | ||
PATH="$DIR/..:$PATH" | ||
} | ||
|
||
@test "supports help flag" { | ||
run ws -h | ||
assert_output --partial 'ws usage:' | ||
} | ||
|
||
|
||
|
||
@test "supports help flag" { | ||
run ws -h | ||
assert_output --partial 'ws usage:' | ||
} |
Oops, something went wrong.