mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix h2spec_SUITE init_per_suite return values
This commit is contained in:
parent
e28a339ccd
commit
ea976f02e0
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ all() ->
|
||||||
init_per_suite(Config) ->
|
init_per_suite(Config) ->
|
||||||
case os:getenv("H2SPEC") of
|
case os:getenv("H2SPEC") of
|
||||||
false ->
|
false ->
|
||||||
skip;
|
{skip, "H2SPEC environment variable undefined."};
|
||||||
H2spec ->
|
H2spec ->
|
||||||
case filelib:is_file(H2spec) of
|
case filelib:is_file(H2spec) of
|
||||||
false ->
|
false ->
|
||||||
skip;
|
{skip, "H2SPEC executable not found."};
|
||||||
true ->
|
true ->
|
||||||
cowboy_test:init_http(h2spec, #{
|
cowboy_test:init_http(h2spec, #{
|
||||||
env => #{dispatch => init_dispatch()},
|
env => #{dispatch => init_dispatch()},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue