diff options
Diffstat (limited to 'src/rebar_prv_common_test.erl')
-rw-r--r-- | src/rebar_prv_common_test.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 9e17f38..5de1618 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -295,8 +295,8 @@ add_test_dir(Opts, InDirs) -> %% if no src_dirs are set we have to specify `src` or it won't %% be built case proplists:append_values(src_dirs, Opts) of - [] -> [{src_dirs, ["src", "test"|InDirs]}]; - _ -> [{src_dirs, ["test"|InDirs]}] + [] -> [{src_dirs, ["src", "test" | InDirs]} | Opts]; + _ -> [{src_dirs, ["test" | InDirs]} | Opts] end. first_files(State) -> |