]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1700-split-index.sh
t1407: make hash size independent
[thirdparty/git.git] / t / t1700-split-index.sh
index 39133bcbc85239183c3d73596f76f0486aeefcfe..b3b4d83eafc4a031618a3a89fd8ca50353f1a844 100755 (executable)
@@ -143,9 +143,7 @@ test_expect_success 'remove file not in base index' '
 test_expect_success 'remove file in base index' '
        git update-index --force-remove one &&
        git ls-files --stage >ls-files.actual &&
-       cat >ls-files.expect <<-EOF &&
-       EOF
-       test_cmp ls-files.expect ls-files.actual &&
+       test_must_be_empty ls-files.actual &&
 
        test-tool dump-split-index .git/index | sed "/^own/d" >actual &&
        cat >expect <<-EOF &&