Sfoglia il codice sorgente

Add regression test for dep override infinite loop

Completes the fix presented in #2381

Uses an existing test to simply inject the regression.
pull/2409/head
Fred Hebert 4 anni fa
parent
commit
7129064db7
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      test/rebar_compile_SUITE.erl

+ 4
- 1
test/rebar_compile_SUITE.erl Vedi File

@ -1780,7 +1780,10 @@ override_del_pkg_deps(Config) ->
{deps, TopDeps},
{overrides, [
{del, some_dep, [
{deps, [other_dep]}
{deps, [other_dep]},
%% regression: a non-existing option deletion
%% could trigger an infinite loop
{provider_hooks, [{post, [{compile, xref}]}]}
]}
]}
],

Caricamento…
Annulla
Salva