summaryrefslogtreecommitdiff
path: root/t/t3070-wildmatch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 11:33:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 11:33:48 -0700
commit14677d25ab50efcf57621ae69d6ba858a5f86165 (patch)
treec480f4a1ac902ab01d430b00e3dfbd2093b30d7a /t/t3070-wildmatch.sh
parentMerge branch 'ab/newhash-is-sha256' (diff)
parenttests: make use of the test_must_be_empty function (diff)
downloadtgif-14677d25ab50efcf57621ae69d6ba858a5f86165.tar.xz
Merge branch 'ab/test-must-be-empty-for-master'
Test updates. * ab/test-must-be-empty-for-master: tests: make use of the test_must_be_empty function
Diffstat (limited to 't/t3070-wildmatch.sh')
-rwxr-xr-xt/t3070-wildmatch.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t3070-wildmatch.sh b/t/t3070-wildmatch.sh
index dce102130f..46aca0af10 100755
--- a/t/t3070-wildmatch.sh
+++ b/t/t3070-wildmatch.sh
@@ -101,8 +101,7 @@ match_with_ls_files() {
match_stdout_stderr_cmp="
tr -d '\0' <actual.raw >actual &&
- >expect.err &&
- test_cmp expect.err actual.err &&
+ test_must_be_empty actual.err &&
test_cmp expect actual"
if test "$match_expect" = 'E'