aboutsummaryrefslogtreecommitdiff
path: root/t/t1512-rev-parse-disambiguation.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1512-rev-parse-disambiguation.sh')
-rwxr-xr-xt/t1512-rev-parse-disambiguation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1512-rev-parse-disambiguation.sh b/t/t1512-rev-parse-disambiguation.sh
index 84b8dddbe..dc56f81cb 100755
--- a/t/t1512-rev-parse-disambiguation.sh
+++ b/t/t1512-rev-parse-disambiguation.sh
@@ -75,7 +75,7 @@ test_expect_success 'disambiguate blob' '
test_cmp a0blgqsjc actual
'
-test_expect_failure 'disambiguate tree' '
+test_expect_success 'disambiguate tree' '
commit=$(echo "d7xm" | git commit-tree 000000000) &&
test $(git rev-parse $commit^{tree}) = $(git rev-parse 0000000000cdc)
'
@@ -97,7 +97,7 @@ test_expect_success 'disambiguate commit-ish' '
git rev-parse --verify 000000000^0
'
-test_expect_failure 'disambiguate commit' '
+test_expect_success 'disambiguate commit' '
commit=$(echo "j9xqh" | git commit-tree 0000000000cdc -p 000000000) &&
test $(git rev-parse $commit^) = $(git rev-parse 0000000000e4f)
'