diff options
Diffstat (limited to 'test/ws_SUITE_data/ws_echo.erl')
-rw-r--r-- | test/ws_SUITE_data/ws_echo.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ws_SUITE_data/ws_echo.erl b/test/ws_SUITE_data/ws_echo.erl index a94b4c0..efdc204 100644 --- a/test/ws_SUITE_data/ws_echo.erl +++ b/test/ws_SUITE_data/ws_echo.erl @@ -12,11 +12,11 @@ init(Req, _) -> }}. 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(_Frame, State) -> - {ok, State}. + {[], State}. websocket_info(_Info, State) -> - {ok, State}. + {[], State}. |