From 35b9a0070693c4491f4bd1c28fee69514168e02c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 23 Jun 2014 21:50:57 -0500 Subject: [PATCH] Fix file leak in lock tests --- Library/Homebrew/test/test_formula_lock.rb | 1 + 1 file changed, 1 insertion(+) 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