summaryrefslogtreecommitdiff
path: root/test/librestage-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 22:24:28 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 22:24:28 -0500
commit6fb2295a25ee4a24b38f4fce1b652a60cedd1b64 (patch)
tree4eef41fc33185611f67232fb28089180c496caeb /test/librestage-test.sh
parentef7a330eae68da2f47c617502b28a2f8c9eeb792 (diff)
test: `! true` doesn't trip `set -e`, do subshell magic
Diffstat (limited to 'test/librestage-test.sh')
-rw-r--r--test/librestage-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh
index 6728143..460eb58 100644
--- a/test/librestage-test.sh
+++ b/test/librestage-test.sh
@@ -34,7 +34,7 @@ it_fails_with_0_args() {
[[ $stat != 0 ]]
empty "$tmpdir/stdout"
- ! empty "$tmpdir/stderr"
+ not empty "$tmpdir/stderr"
}
it_fails_with_invalid_args() {
@@ -42,7 +42,7 @@ it_fails_with_invalid_args() {
[[ $stat != 0 ]]
empty "$tmpdir/stdout"
- ! empty "$tmpdir/stderr"
+ not empty "$tmpdir/stderr"
}
# This was an actual bug I hit with md/emacs-mdmua a long time ago; solution was