summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-09-01 15:41:58 -0400
committerGitHub <noreply@github.com>2017-09-01 15:41:58 -0400
commit03f6f634f03de894c2322e9df3b2b3b36d102a4f (patch)
tree18d8502decd7c46f5b417c894135111bc8fc3ee5 /test
parentaf3d3b73c0676f061c7c26a628059f48213f135d (diff)
parent7c959ccb4f91cdfdb956aa090b3789cf8fd396ed (diff)
Merge pull request #1624 from ferd/fix-rel-srcdirs
Fix relative src_dir specifications to avoid double .app.src file detection
Diffstat (limited to 'test')
-rw-r--r--test/rebar_dir_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_dir_SUITE.erl b/test/rebar_dir_SUITE.erl
index 6797802..3b8e1fc 100644
--- a/test/rebar_dir_SUITE.erl
+++ b/test/rebar_dir_SUITE.erl
@@ -68,7 +68,7 @@ default_all_src_dirs(Config) ->
["src", "test"] = rebar_dir:all_src_dirs(rebar_state:opts(State), ["src"], ["test"]).
src_dirs(Config) ->
- RebarConfig = [{erl_opts, [{src_dirs, ["foo", "bar", "baz"]}]}],
+ RebarConfig = [{erl_opts, [{src_dirs, ["foo", "./bar", "bar", "bar/", "./bar/", "baz"]}]}],
{ok, State} = rebar_test_utils:run_and_check(Config, RebarConfig, ["compile"], return),
["bar", "baz", "foo"] = rebar_dir:src_dirs(rebar_state:opts(State)).