Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

showing unexpected help output better

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@80 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
commit 706fdcdc1e12507b54d4f3de9f8addb3ad9d8ce0 1 parent da3bce3
kate.ward@forestent.com authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/shflags_test_public.sh
View
4 src/shflags_test_public.sh
@@ -85,8 +85,8 @@ 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}"
+ test ${__shunit_skip} -eq ${SHUNIT_FALSE} -a ${rtrn} -ne ${FLAGS_TRUE}
+ th_showOutput $? "${stdoutF}" "${stderrF}"
}
testEnhancedHelpOutput()
Please sign in to comment.
Something went wrong with that request. Please try again.