summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-12-06 23:53:11 +0000
committerFred Hebert <mononcqc@ferd.ca>2014-12-06 23:53:11 +0000
commitbe39ab9e7bd1553132def2a1e89f1ce38f6f2fcc (patch)
tree95feb148cd7c33f46b15ec7fa60edd02ae46cfa0 /test
parent63003c3986ca20e2f733e79453315fa0b7076bd9 (diff)
Handle cycle errors in provider
Diffstat (limited to 'test')
-rw-r--r--test/rebar_deps_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
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(),