commit-graph write: don't die if the existing graph is corrupt
[gitweb.git] / t / t6120-describe.sh
index 1b8690a7c992e13173fda9d6a45bd36c2d286cce..ee5b03ee18ada34a7b8012d219cbb63c4bb7f256 100755 (executable)
@@ -121,10 +121,9 @@ test_expect_success 'describe --contains defaults to HEAD without commit-ish' '
        test_cmp expect actual
 '
 
-: >err.expect
 check_describe tags/A --all A^0
 test_expect_success 'no warning was displayed for A' '
-       test_cmp err.expect err.actual
+       test_must_be_empty err.actual
 '
 
 test_expect_success 'rename tag A to Q locally' '