Skip to content

Commit 7978103

Browse files
committed
Updated the default test suite to check that argExists returns false if the default value is being used
1 parent 39e855c commit 7978103

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/default.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ source ../argument-parser.sh
1919
[ "$(argValue "hyphenated-arg")" == "hyphenated" ] && pass || fail
2020

2121

22-
argExists "alphaArg" && pass || fail
23-
argExists "bravoArg" && pass || fail
24-
argExists "charlieArg" && pass || fail
25-
argExists "deltaArg" && pass || fail
26-
argExists "numericArg" && pass || fail
27-
argExists "hyphenated-arg" && pass || fail
22+
argExists "alphaArg" && fail || pass
23+
argExists "bravoArg" && fail || pass
24+
argExists "charlieArg" && fail || pass
25+
argExists "deltaArg" && fail || pass
26+
argExists "numericArg" && fail || pass
27+
argExists "hyphenated-arg" && fail || pass

0 commit comments

Comments
 (0)