diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-08-16 15:03:55 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-08-16 15:03:55 +0000 |
commit | e880e16063066d2582a8e73c006d37bd02bc8268 (patch) | |
tree | cee62e0a5c683c88418aa799b88d4391988135b5 /test | |
parent | 59579c070838eced4af05113364a87bcc6ad3ebf (diff) |
Review rule about dep priorities
On a single app's dep list, the first noted wins if there's a duplicate
between packages and sources, rather than favoring source there anyway.
Diffstat (limited to 'test')
-rw-r--r-- | test/rebar_install_deps_SUITE.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rebar_install_deps_SUITE.erl b/test/rebar_install_deps_SUITE.erl index cf3b260..ff1d851 100644 --- a/test/rebar_install_deps_SUITE.erl +++ b/test/rebar_install_deps_SUITE.erl @@ -218,10 +218,11 @@ mdeps(m_pick_source2) -> ["d"], {ok, ["b", "C", "D"]}}; mdeps(m_pick_source3) -> + %% The order of declaration is important. {[{"b", []}, {"B", []}], - ["b"], - {ok, ["B"]}}; + ["B"], + {ok, ["b"]}}; mdeps(m_pick_source4) -> {[{"B", []}, {"b", []}], |