summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-05-14 10:00:46 -0500
committerTristan Sloughter <t@crashfast.com>2015-05-14 10:50:06 -0500
commitf37cee14b240aaede19807cbc484286cffc8be8d (patch)
treeed1f257d812e97d274cc12cfaa1702b600c6eb49 /test
parent84db4a05cec80c0f061866d548d100e122457ac7 (diff)
patch tests
Diffstat (limited to 'test')
-rw-r--r--test/rebar_pkg_SUITE.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/rebar_pkg_SUITE.erl b/test/rebar_pkg_SUITE.erl
index 270946c..95eb6f6 100644
--- a/test/rebar_pkg_SUITE.erl
+++ b/test/rebar_pkg_SUITE.erl
@@ -94,12 +94,9 @@ good_cached(Config) ->
Cache = ?config(cache_dir, Config),
CachedFile = filename:join(Cache, <<Pkg/binary, "-", Vsn/binary, ".tar">>),
?assert(filelib:is_regular(CachedFile)),
- FInfo = file:read_file_info(CachedFile),
{ok, Content} = file:read_file(CachedFile),
?assertEqual({ok, true},
rebar_pkg_resource:download(Tmp, {pkg, Pkg, Vsn}, State)),
- ?assertEqual(FInfo,
- file:read_file_info(CachedFile)),
{ok, Content} = file:read_file(CachedFile).
badindexchk(Config) ->
@@ -142,12 +139,9 @@ good_disconnect(Config) ->
Cache = ?config(cache_dir, Config),
CachedFile = filename:join(Cache, <<Pkg/binary, "-", Vsn/binary, ".tar">>),
?assert(filelib:is_regular(CachedFile)),
- FInfo = file:read_file_info(CachedFile),
{ok, Content} = file:read_file(CachedFile),
?assertEqual({ok, true},
rebar_pkg_resource:download(Tmp, {pkg, Pkg, Vsn}, State)),
- ?assertEqual(FInfo,
- file:read_file_info(CachedFile)),
{ok, Content} = file:read_file(CachedFile).
bad_disconnect(Config) ->