summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-01-15 10:48:13 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-01-15 10:48:13 -0600
commit3cd8a5c35fb3839f23f7e2d520c1c1ceef5e8a72 (patch)
treea0a028e2f0867e6d864d7126bedeff7555691505 /src
parent53248a2ba05deaea88e4cd91d391c4bb85e400c4 (diff)
parent10298a21b60809396be988186f0f86cdcc53a3a9 (diff)
Merge pull request #100 from talentdeficit/first_files_fix
change more instances of mistyped `erl_first_modules` to `erl_first_files`
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_common_test.erl2
-rw-r--r--src/rebar_prv_eunit.erl2
2 files changed, 2 insertions, 2 deletions
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, []),