t: use test_expect_code instead of hand-rolled comparison
[gitweb.git] / t / t1700-split-index.sh
index 94fb473e7c309b823a9abdc1e7c38b1299bf80f3..a55f5bc0a1b566b7467a728804150f702fe09d96 100755 (executable)
@@ -182,7 +182,7 @@ test_expect_success 'unify index, two files remain' '
 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0      one
 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0      two
 EOF
-       test_cmp ls-files.expect ls-files.actual
+       test_cmp ls-files.expect ls-files.actual &&
 
        test-dump-split-index .git/index | sed "/^own/d" >actual &&
        cat >expect <<EOF &&