aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-05-21 16:46:18 +0200
committerLoïc Hoguin <[email protected]>2012-05-21 16:46:18 +0200
commit1a1b01c7c4bbe9b87742c318b6a6e0bd54d5f59d (patch)
treea8cf365fcd7796c6c0f76e5d7658fc39cce6b073
parenta95245d9c9a0651c9e102d6a4aa966a2d58d02a6 (diff)
downloadcowboy-1a1b01c7c4bbe9b87742c318b6a6e0bd54d5f59d.tar.gz
cowboy-1a1b01c7c4bbe9b87742c318b6a6e0bd54d5f59d.tar.bz2
cowboy-1a1b01c7c4bbe9b87742c318b6a6e0bd54d5f59d.zip
Remove a dumb warning when running the tests
-rw-r--r--test/http_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 095d6b5..8464ca0 100644
--- a/test/http_SUITE.erl
+++ b/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) ->