aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/ws_deflate_opts_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/ws_deflate_opts_h.erl')
-rw-r--r--test/handlers/ws_deflate_opts_h.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handlers/ws_deflate_opts_h.erl b/test/handlers/ws_deflate_opts_h.erl
index 1c15efe..b70110b 100644
--- a/test/handlers/ws_deflate_opts_h.erl
+++ b/test/handlers/ws_deflate_opts_h.erl
@@ -26,11 +26,11 @@ init(Req=#{qs := Qs}, State) ->
}}.
websocket_handle({text, Data}, State) ->
- {reply, {text, Data}, State};
+ {[{text, Data}], State};
websocket_handle({binary, Data}, State) ->
- {reply, {binary, Data}, State};
+ {[{binary, Data}], State};
websocket_handle(_, State) ->
- {ok, State}.
+ {[], State}.
websocket_info(_, State) ->
- {ok, State}.
+ {[], State}.