]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3200-branch.sh
branch.c: Validate tracking branches with refspecs instead of refs/remotes/*
[thirdparty/git.git] / t / t3200-branch.sh
index 1bfdadc9696a3a55685082a89276625941905684..44ec6a45f473ffe47aca6945c0e0aab445728f67 100755 (executable)
@@ -317,7 +317,7 @@ test_expect_success 'test tracking setup (non-wildcard, matching)' '
        test $(git config branch.my4.merge) = refs/heads/master
 '
 
-test_expect_failure 'tracking setup fails on non-matching refspec' '
+test_expect_success 'tracking setup fails on non-matching refspec' '
        git config remote.local.url . &&
        git config remote.local.fetch refs/heads/s:refs/remotes/local/s &&
        (git show-ref -q refs/remotes/local/master || git fetch local) &&