Skip to content

Commit

Permalink
t5551: fix expected error output
Browse files Browse the repository at this point in the history
We should probably get rid of the check of message instead, but in
the meantime this should do.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Feb 5, 2013
1 parent 4656bf4 commit af3aec4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/t5551-http-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
'

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

test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE
Expand Down

0 comments on commit af3aec4

Please sign in to comment.