Creating the file is unnecessary
This commit is contained in:
parent
0a43d696f9
commit
e77451f60b
1 changed files with 1 additions and 4 deletions
|
@ -1916,10 +1916,7 @@ add_missing_hash({K, {SQN, ST, MD}}) ->
|
||||||
clean_dir_test() ->
|
clean_dir_test() ->
|
||||||
% Pointless gesture to test coverage
|
% Pointless gesture to test coverage
|
||||||
RootPath = "../test/ledger",
|
RootPath = "../test/ledger",
|
||||||
ok = filelib:ensure_dir(RootPath),
|
ok = clean_subdir(RootPath ++ "/test.bob").
|
||||||
?assertMatch(ok, file:write_file(RootPath ++ "/test.bob", "hello")),
|
|
||||||
ok = clean_subdir(RootPath ++ "/test.bob"),
|
|
||||||
ok = file:delete(RootPath ++ "/test.bob").
|
|
||||||
|
|
||||||
|
|
||||||
archive_files_test() ->
|
archive_files_test() ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue