Fix directory leak in test_pathname_version
This commit is contained in:
parent
f9fd3f46d4
commit
9f03b28573
@ -96,6 +96,8 @@ class VersionParsingTests < Homebrew::TestCase
|
|||||||
d = HOMEBREW_CELLAR/'foo-0.1.9'
|
d = HOMEBREW_CELLAR/'foo-0.1.9'
|
||||||
d.mkpath
|
d.mkpath
|
||||||
assert_equal version('0.1.9'), d.version
|
assert_equal version('0.1.9'), d.version
|
||||||
|
ensure
|
||||||
|
d.unlink
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_no_version
|
def test_no_version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user