summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-12-06 23:18:35 +0000
committerFred Hebert <mononcqc@ferd.ca>2014-12-06 23:18:35 +0000
commit63003c3986ca20e2f733e79453315fa0b7076bd9 (patch)
tree861c4fa2ee74936a5360a09e22c5133e3255c7db /test
parent6cfe28c954dc12f847a15a78b5fcf65154f0407a (diff)
Return cycles in deps solver
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 6e5b874..a98f690 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, no_sort}}; % circular dep
+ {error, {cycles, [[<<"A">>,<<"B">>]]}}}; % circular dep
deps(circular2) ->
{[{"B", [{"C", [{"B", []}]}]},
{"C", []}],
- {error, no_sort}}. % circular dep
+ {error, {cycles, [[<<"B">>,<<"C">>]]}}}. % circular dep
end_per_testcase(_, Config) ->
mock_git_resource:unmock(),