Browse Source

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.
pull/717/head
Fred Hebert 9 years ago
parent
commit
e880e16063
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      test/rebar_install_deps_SUITE.erl

+ 3
- 2
test/rebar_install_deps_SUITE.erl View File

@ -218,10 +218,11 @@ mdeps(m_pick_source2) ->
["d"], ["d"],
{ok, ["b", "C", "D"]}}; {ok, ["b", "C", "D"]}};
mdeps(m_pick_source3) -> mdeps(m_pick_source3) ->
%% The order of declaration is important.
{[{"b", []}, {[{"b", []},
{"B", []}], {"B", []}],
["b"],
{ok, ["B"]}};
["B"],
{ok, ["b"]}};
mdeps(m_pick_source4) -> mdeps(m_pick_source4) ->
{[{"B", []}, {[{"B", []},
{"b", []}], {"b", []}],

Loading…
Cancel
Save