aboutsummaryrefslogtreecommitdiffstats
path: root/test/examples_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-11 11:48:09 +0200
committerLoïc Hoguin <[email protected]>2016-08-11 11:48:09 +0200
commit699164fbdd114c981d1c368eede7ef1952b96859 (patch)
treeb16925ea57caaa42102e74126a2cc0c5fc1364e7 /test/examples_SUITE.erl
parent8fb4648b130ea66e394801b0afca657b2cd17610 (diff)
downloadcowboy-699164fbdd114c981d1c368eede7ef1952b96859.tar.gz
cowboy-699164fbdd114c981d1c368eede7ef1952b96859.tar.bz2
cowboy-699164fbdd114c981d1c368eede7ef1952b96859.zip
Add a test for echo_get example undefined
Diffstat (limited to 'test/examples_SUITE.erl')
-rw-r--r--test/examples_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/examples_SUITE.erl b/test/examples_SUITE.erl
index 25cf7e4..56f612f 100644
--- a/test/examples_SUITE.erl
+++ b/test/examples_SUITE.erl
@@ -167,6 +167,7 @@ echo_get(Config) ->
do_echo_get(Transport, Protocol, Config) ->
{200, _, <<"this is fun">>} = do_get(Transport, Protocol, "/?echo=this+is+fun", Config),
+ {400, _, _} = do_get(Transport, Protocol, "/", Config),
ok.
%% Echo POST.