Просмотр исходного кода

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 лет назад
Родитель
Сommit
e880e16063
1 измененных файлов: 3 добавлений и 2 удалений
  1. +3
    -2
      test/rebar_install_deps_SUITE.erl

+ 3
- 2
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", []}],

Загрузка…
Отмена
Сохранить