Просмотр исходного кода

Add a test for echo_get example undefined

Loïc Hoguin 9 лет назад
Родитель
Сommit
699164fbdd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      test/examples_SUITE.erl

+ 1 - 0
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.