diff options
author | Loïc Hoguin <[email protected]> | 2017-10-31 16:50:17 +0000 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-10-31 16:50:17 +0000 |
commit | 4e85ad76a0ce2584175d4aabbd3e9900bd405056 (patch) | |
tree | c6351f35c1d4c9eed6bc01b2520e0842fda1d7e7 /test/handlers | |
parent | d41f2914b0f7e52e669206d186c01a47e8113bf0 (diff) | |
download | cowboy-4e85ad76a0ce2584175d4aabbd3e9900bd405056.tar.gz cowboy-4e85ad76a0ce2584175d4aabbd3e9900bd405056.tar.bz2 cowboy-4e85ad76a0ce2584175d4aabbd3e9900bd405056.zip |
Fix a unused warning
Diffstat (limited to 'test/handlers')
-rw-r--r-- | test/handlers/stream_handler_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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, #{}}]. |