mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add a test for echo_get example undefined
This commit is contained in:
parent
8fb4648b13
commit
699164fbdd
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue