diff options
Diffstat (limited to 'test/rebar_profiles_SUITE.erl')
-rw-r--r-- | test/rebar_profiles_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rebar_profiles_SUITE.erl b/test/rebar_profiles_SUITE.erl index 41bb535..d4c10c5 100644 --- a/test/rebar_profiles_SUITE.erl +++ b/test/rebar_profiles_SUITE.erl @@ -428,8 +428,7 @@ test_profile_applied_to_apps(Config) -> Apps = rebar_state:project_apps(State), lists:foreach(fun(App) -> - AppState = rebar_app_info:state(App), - Opts = rebar_state:opts(AppState), + Opts = rebar_app_info:opts(App), ErlOpts = dict:fetch(erl_opts, Opts), true = lists:member({d, 'TEST'}, ErlOpts) end, Apps). |