]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t2202-add-addremove.sh
Merge branch 'sg/t3420-autostash-fix'
[thirdparty/git.git] / t / t2202-add-addremove.sh
index 17744e8c57b8adbe976e9abe5a8c8350429e4c19..9ee659098c45fbc18dfb5ccc2292f978320c1ebb 100755 (executable)
@@ -48,8 +48,7 @@ test_expect_success 'Just "git add" is a no-op' '
        >will-not-be-added &&
        git add &&
        git diff-index --name-status --cached HEAD >actual &&
-       >expect &&
-       test_cmp expect actual
+       test_must_be_empty actual
 '
 
 test_done