diff --git a/Library/Homebrew/test/test_formula_lock.rb b/Library/Homebrew/test/test_formula_lock.rb index f3419a3151..1cc76d0a18 100644 --- a/Library/Homebrew/test/test_formula_lock.rb +++ b/Library/Homebrew/test/test_formula_lock.rb @@ -9,6 +9,7 @@ class FormulaLockTests < Homebrew::TestCase def teardown @lock.unlock + FormulaLock::LOCKDIR.children.each(&:unlink) end def test_locking_file_with_existing_lock_raises_error