From 4e85ad76a0ce2584175d4aabbd3e9900bd405056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 31 Oct 2017 16:50:17 +0000 Subject: Fix a unused warning --- test/handlers/stream_handler_h.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/handlers/stream_handler_h.erl b/test/handlers/stream_handler_h.erl index 36965ea..501c509 100644 --- a/test/handlers/stream_handler_h.erl +++ b/test/handlers/stream_handler_h.erl @@ -48,7 +48,7 @@ init_commands(_, _, State=#state{test=shutdown_timeout_on_socket_close}) -> [{headers, 200, #{}}, {spawn, Spawn, 2000}]; init_commands(_, _, State=#state{test=terminate_on_switch_protocol}) -> [{switch_protocol, #{}, ?MODULE, State}]; -init_commands(_, _, State=#state{test=terminate_on_stop}) -> +init_commands(_, _, #state{test=terminate_on_stop}) -> [{response, 204, #{}, <<>>}]; init_commands(_, _, _) -> [{headers, 200, #{}}]. -- cgit v1.2.3