Skip to content

Commit

Permalink
Merge pull request #242 from martinsumner/mas-i241-eunitfailure
Browse files Browse the repository at this point in the history
Creating the file is unnecessary
  • Loading branch information
martinsumner authored Dec 18, 2018
2 parents 0a43d69 + e77451f commit d5a9f2e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/leveled_penciller.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1916,10 +1916,7 @@ add_missing_hash({K, {SQN, ST, 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").
ok = clean_subdir(RootPath ++ "/test.bob").


archive_files_test() ->
Expand Down

0 comments on commit d5a9f2e

Please sign in to comment.