We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4656bf4 commit af3aec4Copy full SHA for af3aec4
1 file changed
t/t5551-http-fetch.sh
@@ -158,9 +158,8 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
158
'
159
160
test_expect_success 'invalid Content-Type rejected' '
161
- echo "fatal: invalid content-type text/html" >expect
162
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual
163
- test_cmp expect actual
+ grep "not valid:" actual
164
165
166
test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE
0 commit comments