diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-02 22:24:28 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-02 22:24:28 -0500 |
commit | 6fb2295a25ee4a24b38f4fce1b652a60cedd1b64 (patch) | |
tree | 4eef41fc33185611f67232fb28089180c496caeb /test/lib-messages-test.sh | |
parent | ef7a330eae68da2f47c617502b28a2f8c9eeb792 (diff) |
test: `! true` doesn't trip `set -e`, do subshell magic
Diffstat (limited to 'test/lib-messages-test.sh')
-rw-r--r-- | test/lib-messages-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib-messages-test.sh b/test/lib-messages-test.sh index fffff36..3fcac63 100644 --- a/test/lib-messages-test.sh +++ b/test/lib-messages-test.sh @@ -31,14 +31,14 @@ it_works_with_no_color_and_set_euE() ( ) >$tmpdir/stdout 2>$tmpdir/stderr empty $tmpdir/stdout - ! empty $tmpdir/stderr + not empty $tmpdir/stderr ) it_can_be_called_without_including() { libremessages msg Foo >$tmpdir/stdout 2>$tmpdir/stderr empty $tmpdir/stdout - ! empty $tmpdir/stderr + not empty $tmpdir/stderr } it_fails_with_msg_and_no_args() { |