Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit af3aec4

Browse files
committed
t5551: fix expected error output
We should probably get rid of the check of message instead, but in the meantime this should do. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4656bf4 commit af3aec4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/t5551-http-fetch.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,8 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
158158
'
159159

160160
test_expect_success 'invalid Content-Type rejected' '
161-
echo "fatal: invalid content-type text/html" >expect
162161
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual
163-
test_cmp expect actual
162+
grep "not valid:" actual
164163
'
165164

166165
test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE

0 commit comments

Comments
 (0)