diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-08-29 17:07:18 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-08-31 21:40:51 -0500 |
commit | f209ccc2b8ea79279532f1fe1debe24aa0e6a488 (patch) | |
tree | 7779674a7e082a16d1721bd0e3e7c401cc664a73 /test | |
parent | 98752aab9390137d7cba0b70e0c1c08b9ca308d4 (diff) |
remove state record from app_info record
Diffstat (limited to 'test')
-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). |