]> Pileus Git - ~andy/git/blobdiff - t/t0090-cache-tree.sh
reset: update cache-tree data when appropriate
[~andy/git] / t / t0090-cache-tree.sh
index a3527a5c99cc69a5f54eaf2ff4b20f8c239f55bc..f97256292e9f7d3f6cc69e790284382e09584921 100755 (executable)
@@ -75,13 +75,13 @@ test_expect_success 'second commit has cache-tree' '
        test_shallow_cache_tree
 '
 
-test_expect_failure 'reset --hard gives cache-tree' '
+test_expect_success 'reset --hard gives cache-tree' '
        test-scrap-cache-tree &&
        git reset --hard &&
        test_shallow_cache_tree
 '
 
-test_expect_failure 'reset --hard without index gives cache-tree' '
+test_expect_success 'reset --hard without index gives cache-tree' '
        rm -f .git/index &&
        git reset --hard &&
        test_shallow_cache_tree