Code

fetch: honor the user-provided refspecs when pruning refs
[git.git] / t / t5510-fetch.sh
index 8b5e92534b35bdf1cc3fb65f0e80b781daba7e07..581049bf941148ba8779108af630b05e91e2f0bd 100755 (executable)
@@ -86,7 +86,7 @@ test_expect_success 'fetch --prune on its own works as expected' '
        test_must_fail git rev-parse origin/extrabranch
 '
 
-test_expect_failure 'fetch --prune with a branch name keeps branches' '
+test_expect_success 'fetch --prune with a branch name keeps branches' '
        cd "$D" &&
        git clone . prune-branch &&
        cd prune-branch &&
@@ -96,7 +96,7 @@ test_expect_failure 'fetch --prune with a branch name keeps branches' '
        git rev-parse origin/extrabranch
 '
 
-test_expect_failure 'fetch --prune with a namespace keeps other namespaces' '
+test_expect_success 'fetch --prune with a namespace keeps other namespaces' '
        cd "$D" &&
        git clone . prune-namespace &&
        cd prune-namespace &&