diff options
author | Loïc Hoguin <[email protected]> | 2016-08-11 11:48:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-11 11:48:09 +0200 |
commit | 699164fbdd114c981d1c368eede7ef1952b96859 (patch) | |
tree | b16925ea57caaa42102e74126a2cc0c5fc1364e7 | |
parent | 8fb4648b130ea66e394801b0afca657b2cd17610 (diff) | |
download | cowboy-699164fbdd114c981d1c368eede7ef1952b96859.tar.gz cowboy-699164fbdd114c981d1c368eede7ef1952b96859.tar.bz2 cowboy-699164fbdd114c981d1c368eede7ef1952b96859.zip |
Add a test for echo_get example undefined
-rw-r--r-- | test/examples_SUITE.erl | 1 |
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. |