Skip to content
Snippets Groups Projects
Commit 9a6d2a31 authored by Jack Nagel's avatar Jack Nagel
Browse files

Fix directory leak in test_cleanup

parent c2337771
No related branches found
No related tags found
No related merge requests found
......@@ -23,5 +23,8 @@ class CleanupTests < Homebrew::TestCase
refute_predicate f1, :installed?
refute_predicate f2, :installed?
assert_predicate f3, :installed?
ensure
[f1, f2, f3].each(&:clear_cache)
f3.rack.rmtree
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment