aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2010-03-28 23:07:35 +0000
committerkate.ward <kate.ward@forestent.com>2010-03-28 23:07:35 +0000
commit8fe62e66e947dd883dbfd8d1886d0599d1b16ce8 (patch)
tree1777088023a2c41324d8d010a683d46d5597f753 /source
parent9a183b8fa2dbe49701f1a26bbca812aa823c0422 (diff)
downloadshflags-8fe62e66e947dd883dbfd8d1886d0599d1b16ce8.tar.gz
minor comment changes
Diffstat (limited to 'source')
-rwxr-xr-xsource/1.0/src/shflags_test_parsing.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/1.0/src/shflags_test_parsing.sh b/source/1.0/src/shflags_test_parsing.sh
index f34fb06..e93a62f 100755
--- a/source/1.0/src/shflags_test_parsing.sh
+++ b/source/1.0/src/shflags_test_parsing.sh
@@ -112,8 +112,9 @@ _testValidFloats()
for value in ${TH_FLOAT_VALID}; do
FLAGS ${flag} ${value} >"${stdoutF}" 2>"${stderrF}"
rtrn=$?
- assertTrue "FLAGS (${value}) returned a non-zero result (${rtrn})" ${rtrn}
- assertEquals "float (${value}) test failed." ${value} ${FLAGS_float}
+ assertTrue "FLAGS ${flag} ${value} returned non-zero result (${rtrn})" \
+ ${rtrn}
+ assertEquals "float (${flag} ${value}) test failed." ${value} ${FLAGS_float}
assertFalse 'expected no output to STDERR' "[ -s '${stderrF}' ]"
th_showOutput ${rtrn} "${stdoutF}" "${stderrF}"
done
@@ -328,7 +329,7 @@ oneTimeSetUp()
setUp()
{
flags_reset
- DEFINE_boolean bool false 'boolean value' b
+ DEFINE_boolean bool false 'boolean test' 'b'
DEFINE_float float 0.0 'float test' 'f'
DEFINE_integer int 0 'integer test' 'i'
DEFINE_string str '' 'string test' 's'