]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1506-rev-parse-diagnosis.sh
sha1-name: check for overflow of N in "foo^N" and "foo~N"
[thirdparty/git.git] / t / t1506-rev-parse-diagnosis.sh
index 5c4df474012ab76d6785fee42d2ec09cf8dee9b2..6a938b205bdd99405fc86a55e3a82fa42dff2cf7 100755 (executable)
@@ -215,11 +215,11 @@ test_expect_success 'arg before dashdash must be a revision (ambiguous)' '
        test_cmp expect actual
 '
 
-test_expect_failure 'reject Nth parent if N is too high' '
+test_expect_success 'reject Nth parent if N is too high' '
        test_must_fail git rev-parse HEAD^100000000000000000000000000000000
 '
 
-test_expect_failure 'reject Nth ancestor if N is too high' '
+test_expect_success 'reject Nth ancestor if N is too high' '
        test_must_fail git rev-parse HEAD~100000000000000000000000000000000
 '