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

Fix tests failing following Gun update to master

This commit is contained in:
Loïc Hoguin 2019-09-06 15:37:42 +02:00
parent 86c16fdccc
commit 36836594f8
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
3 changed files with 15 additions and 19 deletions

View file

@ -157,7 +157,7 @@ method_delete(Config) ->
% ConnPid = gun_open(Config),
% Ref = gun:request(ConnPid, <<"CONNECT">>, "localhost:8080", [
% {<<"accept-encoding">>, <<"gzip">>}
% ]),
% ], <<>>),
% {response, fin, 501, _} = gun:await(ConnPid, Ref),
% ok.
@ -212,7 +212,7 @@ method_trace(Config) ->
ConnPid = gun_open(Config),
Ref = gun:request(ConnPid, <<"TRACE">>, "/", [
{<<"accept-encoding">>, <<"gzip">>}
]),
], <<>>),
{response, fin, 501, _} = gun:await(ConnPid, Ref),
ok.