mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10: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) ->
|
||||
case os:getenv("H2SPEC") of
|
||||
false ->
|
||||
skip;
|
||||
{skip, "H2SPEC environment variable undefined."};
|
||||
H2spec ->
|
||||
case filelib:is_file(H2spec) of
|
||||
false ->
|
||||
skip;
|
||||
{skip, "H2SPEC executable not found."};
|
||||
true ->
|
||||
cowboy_test:init_http(h2spec, #{
|
||||
env => #{dispatch => init_dispatch()},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue