aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_SUITE.erl')
-rw-r--r--test/ws_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl
index 82f3632..2310b31 100644
--- a/test/ws_SUITE.erl
+++ b/test/ws_SUITE.erl
@@ -140,7 +140,7 @@ log_output() ->
ok.
connect(Path) ->
- {ok, Pid} = gun:open("127.0.0.1", 33080, [{type, tcp}, {retry, 0}]),
+ {ok, Pid} = gun:open("127.0.0.1", 33080, #{retry=>0}),
Ref = monitor(process, Pid),
gun:ws_upgrade(Pid, Path, [], #{compress => true}),
receive