sha1_name.c: add support for disambiguating other types
[gitweb.git] / t / t1512-rev-parse-disambiguation.sh
index 7652f1c2e96c529fe6ee421fb544a3a48b16d135..fbd3658ca8ed8415a37e593f89c82a4833965bba 100755 (executable)
@@ -45,7 +45,7 @@ test_expect_success 'warn ambiguity when no candidate matches type hint' '
        grep "short SHA1 000000000 is ambiguous" actual
 '
 
-test_expect_failure 'disambiguate tree-ish' '
+test_expect_success 'disambiguate tree-ish' '
        # feed tree-ish in an unambiguous way
        git rev-parse --verify 0000000000cdc:a0blgqsjc &&
 
@@ -102,7 +102,7 @@ test_expect_failure 'disambiguate commit' '
        test $(git rev-parse $commit^) = $(git rev-parse 0000000000e4f)
 '
 
-test_expect_failure 'log name1..name2 takes only commit-ishes on both ends' '
+test_expect_success 'log name1..name2 takes only commit-ishes on both ends' '
        git log 000000000..000000000 &&
        git log ..000000000 &&
        git log 000000000.. &&
@@ -117,7 +117,7 @@ test_expect_failure 'rev-parse name1..name2 takes only commit-ishes on both ends
        git rev-parse 000000000..
 '
 
-test_expect_failure 'git log takes only commit-ish' '
+test_expect_success 'git log takes only commit-ish' '
        git log 000000000
 '