submodule: migrate get_next_submodule to use repository structs
[gitweb.git] / t / t3070-wildmatch.sh
index 7ba5d35eb270f2b3ef1e6586e545c1aeef485ee2..891d4d7cb9f1a7d1a8caa75f30e6d4eb4ea0df14 100755 (executable)
@@ -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'