mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove a dumb warning when running the tests
This commit is contained in:
parent
a95245d9c9
commit
1a1b01c7c4
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue