From 86128ddf561b49f83da20008fd0dfecb2bd53f47 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 17 Jan 2019 11:30:50 +0000 Subject: [PATCH] Remove pointless test Was testing a test admin function for coverage reasons --- src/leveled_penciller.erl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/leveled_penciller.erl b/src/leveled_penciller.erl index 2163e80..a005396 100644 --- a/src/leveled_penciller.erl +++ b/src/leveled_penciller.erl @@ -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),