From e2729d5ecf80f9fdc098983f1182cd9c8db05cc8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 10 Apr 2017 22:32:37 -0400 Subject: test/lib-messages: it_works_with_no_color_and_set_euE doesn't need a subshell --- test/lib-messages-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.2