Skip to content

Commit

Permalink
Merge pull request #1516 from talentdeficit/fix_eunit_suite
Browse files Browse the repository at this point in the history
eunit in 19.3 errors if `init_per_*` isn't paired with `end_per_*`
  • Loading branch information
ferd authored Mar 19, 2017
2 parents 86e883b + 26e174a commit 903bec6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/rebar_eunit_SUITE.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
-module(rebar_eunit_SUITE).

-export([all/0, groups/0]).
-export([init_per_suite/1, init_per_group/2, end_per_group/2]).
-export([init_per_suite/1, end_per_suite/1]).
-export([init_per_group/2, end_per_group/2]).
-export([basic_app_compiles/1, basic_app_files/1]).
-export([basic_app_exports/1, basic_app_testset/1]).
-export([basic_app_eunit_macro/1]).
Expand Down Expand Up @@ -60,6 +61,8 @@ init_per_suite(Config) ->
{ok, _} = zip:extract(filename:join([PrivDir, "multi_app.zip"]), [{cwd, PrivDir}]),
Config.

end_per_suite(Config) -> Config.

init_per_group(basic_app, Config) ->
GroupState = rebar_test_utils:init_rebar_state(Config, "basic_app_"),

Expand Down

0 comments on commit 903bec6

Please sign in to comment.