0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Add a test for echo_get example undefined

This commit is contained in:
Loïc Hoguin 2016-08-11 11:48:09 +02:00
parent 8fb4648b13
commit 699164fbdd

View file

@ -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.