summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-22 21:49:58 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-23 09:09:52 -0500
commitdae1b4cc827edbe805c74ae4abcff7ad5571f569 (patch)
tree19fd345af664721fbb20d907dd5411c884e8d9fd /test
parent070e9d329bcbae9a7912b7cd84af0a97bc1c3c19 (diff)
improve error messages for packages by checking its existance before fetching
Diffstat (limited to 'test')
-rw-r--r--test/rebar_pkg_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_pkg_SUITE.erl b/test/rebar_pkg_SUITE.erl
index 3cd3a67..3a9aa53 100644
--- a/test/rebar_pkg_SUITE.erl
+++ b/test/rebar_pkg_SUITE.erl
@@ -148,7 +148,7 @@ bad_disconnect(Config) ->
Tmp = ?config(tmp_dir, Config),
{Pkg,Vsn} = ?config(pkg, Config),
State = ?config(state, Config),
- ?assertEqual(request_failed,
+ ?assertEqual({fetch_fail, Pkg, Vsn},
rebar_pkg_resource:download(Tmp, {pkg, Pkg, Vsn}, State)).