diff options
Diffstat (limited to 'test/handlers/ws_dont_validate_utf8_h.erl')
-rw-r--r-- | test/handlers/ws_dont_validate_utf8_h.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handlers/ws_dont_validate_utf8_h.erl b/test/handlers/ws_dont_validate_utf8_h.erl index 6599c78..27be6ad 100644 --- a/test/handlers/ws_dont_validate_utf8_h.erl +++ b/test/handlers/ws_dont_validate_utf8_h.erl @@ -13,11 +13,11 @@ init(Req, 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}. |