summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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) ->