0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Remove a dumb warning when running the tests

This commit is contained in:
Loïc Hoguin 2012-05-21 16:46:18 +02:00
parent a95245d9c9
commit 1a1b01c7c4

View file

@ -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) ->