Fix file leak in lock tests
This commit is contained in:
parent
f25f6fbb39
commit
35b9a00706
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user