Permalink
Browse files

Remove a dumb warning when running the tests

  • Loading branch information...
1 parent a95245d commit 1a1b01c7c4bbe9b87742c318b6a6e0bd54d5f59d Loïc Hoguin committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/http_SUITE.erl
View
2 test/http_SUITE.erl
@@ -618,7 +618,7 @@ onresponse_crash(Config) ->
Client = ?config(client, Config),
{ok, Client2} = cowboy_client:request(<<"GET">>,
build_url("/handler_errors?case=init_before_reply", Config), Client),
- {ok, 777, Headers, Client3} = cowboy_client:response(Client2),
+ {ok, 777, Headers, _} = cowboy_client:response(Client2),
{<<"x-hook">>, <<"onresponse">>} = lists:keyfind(<<"x-hook">>, 1, Headers).
onresponse_reply(Config) ->

0 comments on commit 1a1b01c

Please sign in to comment.