Fix another filesystem leak in updater tests
This commit is contained in:
parent
eaf82ba09b
commit
3f3b7746dd
@ -51,6 +51,10 @@ class UpdaterTests < Homebrew::TestCase
|
||||
@report = Report.new
|
||||
end
|
||||
|
||||
def teardown
|
||||
FileUtils.rm_rf HOMEBREW_LIBRARY.join("Taps")
|
||||
end
|
||||
|
||||
def perform_update(fixture_name="")
|
||||
@updater.diff = fixture(fixture_name)
|
||||
@updater.in_repo_expect("git checkout -q master")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user