Merge pull request #247 from martinsumner/mas-i246-maketestfail

Remove pointless test
This commit is contained in:
Martin Sumner 2019-01-17 11:31:17 +00:00 committed by GitHub
commit 3e75eb3647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1946,15 +1946,6 @@ add_missing_hash({K, {SQN, ST, MD}}) ->
{K, {SQN, ST, leveled_codec:segment_hash(K), MD}}.
clean_dir_test() ->
% Pointless gesture to test coverage
RootPath = "../test/ledger",
ok = filelib:ensure_dir(RootPath),
?assertMatch(ok, file:write_file(RootPath ++ "/test.bob", "hello")),
ok = clean_subdir(RootPath ++ "/test.bob"),
ok = file:delete(RootPath ++ "/test.bob").
archive_files_test() ->
RootPath = "../test/ledger",
SSTPath = sst_rootpath(RootPath),