From be39ab9e7bd1553132def2a1e89f1ce38f6f2fcc Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sat, 6 Dec 2014 23:53:11 +0000 Subject: Handle cycle errors in provider --- test/rebar_deps_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/rebar_deps_SUITE.erl b/test/rebar_deps_SUITE.erl index a98f690..656c3b5 100644 --- a/test/rebar_deps_SUITE.erl +++ b/test/rebar_deps_SUITE.erl @@ -47,11 +47,11 @@ deps(pick_earliest) -> deps(circular1) -> {[{"B", [{"A", []}]}, % A is the top-level app {"C", []}], - {error, {cycles, [[<<"A">>,<<"B">>]]}}}; % circular dep + {error, {rebar_prv_install_deps, {cycles, [[<<"A">>,<<"B">>]]}}}}; deps(circular2) -> {[{"B", [{"C", [{"B", []}]}]}, {"C", []}], - {error, {cycles, [[<<"B">>,<<"C">>]]}}}. % circular dep + {error, {rebar_prv_install_deps, {cycles, [[<<"B">>,<<"C">>]]}}}}. end_per_testcase(_, Config) -> mock_git_resource:unmock(), -- cgit v1.1