From e880e16063066d2582a8e73c006d37bd02bc8268 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 16 Aug 2015 15:03:55 +0000 Subject: 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. --- test/rebar_install_deps_SUITE.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') 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", []}], -- cgit v1.1