summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-10 22:32:37 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-11 13:02:28 -0400
commite2729d5ecf80f9fdc098983f1182cd9c8db05cc8 (patch)
tree4e613dc2a87e55cac76163e99664dcd521a39dca /test
parente8f1b2c68d45a8ffd655cd57835f7391e5253760 (diff)
test/lib-messages: it_works_with_no_color_and_set_euE doesn't need a subshell
Diffstat (limited to 'test')
-rw-r--r--test/lib-messages-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib-messages-test.sh b/test/lib-messages-test.sh
index 420a968..be6fb0f 100644
--- a/test/lib-messages-test.sh
+++ b/test/lib-messages-test.sh
@@ -13,7 +13,7 @@ it_can_be_included_with_set_euE() (
. libremessages
)
-it_works_with_no_color_and_set_euE() (
+it_works_with_no_color_and_set_euE() {
(
unset TERM
set -euE
@@ -23,7 +23,7 @@ it_works_with_no_color_and_set_euE() (
empty $tmpdir/stdout
not empty $tmpdir/stderr
-)
+}
it_can_be_called_without_including() {
libremessages msg Foo >$tmpdir/stdout 2>$tmpdir/stderr