Code

gitweb: Fix test of highlighting support in t9500
[git.git] / t / t5503-tagfollow.sh
index 8a298a655fa007fbd9a43d6212b53f749c980eb6..aa0ada01476b89f3f284dda42f892155496f3467 100755 (executable)
@@ -4,14 +4,9 @@ test_description='test automatic tag following'
 
 . ./test-lib.sh
 
-case $(uname -s) in
-*MINGW*)
+if ! test_have_prereq NOT_MINGW; then
        say "GIT_DEBUG_SEND_PACK not supported - skipping tests"
-       ;;
-*)
-       test_set_prereq NOT_MINGW
-       ;;
-esac
+fi
 
 # End state of the repository:
 #