From 10298a21b60809396be988186f0f86cdcc53a3a9 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 15 Jan 2015 08:39:31 -0800 Subject: change more instances of mistyped `erl_first_modules` to `erl_first_files` fixes #99 --- src/rebar_prv_common_test.erl | 2 +- src/rebar_prv_eunit.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 608b342..72cb0b0 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -310,7 +310,7 @@ add_test_dir(Opts, InDirs) -> first_files(State) -> BaseFirst = rebar_state:get(State, erl_first_files, []), CTFirst = rebar_state:get(State, common_test_first_files, []), - rebar_state:set(State, erl_first_modules, BaseFirst ++ CTFirst). + rebar_state:set(State, erl_first_files, BaseFirst ++ CTFirst). resolve_ct_opts(State, CmdLineOpts, OutDir) -> CTOpts = rebar_state:get(State, common_test_opts, []), diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl index bb0fd9d..be554f3 100644 --- a/src/rebar_prv_eunit.erl +++ b/src/rebar_prv_eunit.erl @@ -149,7 +149,7 @@ test_defined([]) -> false. first_files(State) -> BaseFirst = rebar_state:get(State, erl_first_files, []), EUnitFirst = rebar_state:get(State, eunit_first_files, []), - rebar_state:set(State, erl_first_modules, BaseFirst ++ EUnitFirst). + rebar_state:set(State, erl_first_files, BaseFirst ++ EUnitFirst). resolve_eunit_opts(State, Opts) -> EUnitOpts = rebar_state:get(State, eunit_opts, []), -- cgit v1.1