t5510: use the correct tag name in test
[gitweb.git] / t / t5510-fetch.sh
index 1f0f8e6827773b1bb9a419a822de2d1ebde8e37a..c5e5dfc818cea574b1508c1fb3bb1e1ce23adad8 100755 (executable)
@@ -121,7 +121,7 @@ test_expect_success 'fetch --prune --tags does not delete the remote-tracking br
 
        git fetch --prune --tags origin &&
        git rev-parse origin/master &&
-       test_must_fail git rev-parse somebranch
+       test_must_fail git rev-parse sometag
 '
 
 test_expect_success 'fetch --prune --tags with branch does not delete other remote-tracking branches' '