aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/resp_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-10-31 10:50:57 +0100
committerLoïc Hoguin <[email protected]>2018-10-31 10:50:57 +0100
commita8335c63df31f21d88e9d7d1f2b64d32a674cd7a (patch)
tree2c8adc564263b49621ed969e0e08976258a35ffa /test/handlers/resp_h.erl
parent07078eb47bfc2a774e4ce00d2a215c301f4f4ea7 (diff)
downloadcowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.tar.gz
cowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.tar.bz2
cowboy-a8335c63df31f21d88e9d7d1f2b64d32a674cd7a.zip
Always dialyze tests and fix some cowboy_req specs
Diffstat (limited to 'test/handlers/resp_h.erl')
-rw-r--r--test/handlers/resp_h.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/handlers/resp_h.erl b/test/handlers/resp_h.erl
index 625a2ea..bfcb95c 100644
--- a/test/handlers/resp_h.erl
+++ b/test/handlers/resp_h.erl
@@ -2,6 +2,10 @@
-module(resp_h).
+%% @todo Probably should have a separate handler for errors,
+%% so that we can dialyze all the other correct calls.
+-dialyzer({nowarn_function, do/3}).
+
-export([init/2]).
init(Req, Opts) ->