Explorar el Código

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 hace 4 años
padre
commit
7129064db7
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      test/rebar_compile_SUITE.erl

+ 4
- 1
test/rebar_compile_SUITE.erl Ver fichero

@ -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}]}]}
]}
]}
],

Cargando…
Cancelar
Guardar