]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0003-attributes.sh
t1407: make hash size independent
[thirdparty/git.git] / t / t0003-attributes.sh
index 5c37c2e1f8c3e96ae72dea1c7a5eef556fb18d00..22499bce5f50637e574961f744b567b974a4d3d0 100755 (executable)
@@ -208,9 +208,8 @@ test_expect_success 'attribute test: --all option' '
 '
 
 test_expect_success 'attribute test: --cached option' '
-       : >empty &&
        git check-attr --cached --stdin --all <stdin-all | sort >actual &&
-       test_cmp empty actual &&
+       test_must_be_empty actual &&
        git add .gitattributes a/.gitattributes a/b/.gitattributes &&
        git check-attr --cached --stdin --all <stdin-all | sort >actual &&
        test_cmp specified-all actual