]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1300-config.sh
tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'
[thirdparty/git.git] / t / t1300-config.sh
index 03c223708ebb428125dffb4a9ca273629936ff0c..84e88cf5a93b167815a1691d640c16b845e9514a 100755 (executable)
@@ -346,12 +346,9 @@ test_expect_success 'working --list' '
        git config --list > output &&
        test_cmp expect output
 '
-cat > expect << EOF
-EOF
-
 test_expect_success '--list without repo produces empty output' '
        git --git-dir=nonexistent config --list >output &&
-       test_cmp expect output
+       test_must_be_empty output
 '
 
 cat > expect << EOF