Permalink
Browse files

fixed the enhanced test, just like the standard test earlier

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@88 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
1 parent 1d9f5e4 commit 3a9c5e4c72c671f299191293d2e47570c6be772b kate.ward@forestent.com committed Nov 15, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/shflags_test_public.sh
@@ -112,9 +112,9 @@ flags:
EOF
( FLAGS_HELP=${help}; FLAGS -h >"${stdoutF}" 2>"${stderrF}" )
diff "${expectedF}" "${stderrF}" >/dev/null
- assertTrue 'unexpected help output' $?
- [ ${__shunit_skip} -eq ${SHUNIT_FALSE} -a ${rtrn} -ne ${FLAGS_TRUE} ] \
- && cat "${stderrF}"
+ rtrn=$?
+ assertTrue 'unexpected help output' ${rtrn}
+ th_showOutput ${rtrn} "${stdoutF}" "${stderrF}"
}
testNoHelp()

0 comments on commit 3a9c5e4

Please sign in to comment.