aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/pathname_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/pathname_test.rb')
-rw-r--r--Library/Homebrew/test/pathname_test.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/test/pathname_test.rb b/Library/Homebrew/test/pathname_test.rb
index 2f6360719..b48a26fbd 100644
--- a/Library/Homebrew/test/pathname_test.rb
+++ b/Library/Homebrew/test/pathname_test.rb
@@ -7,16 +7,12 @@ module PathnameTestExtension
include FileUtils
def setup
+ super
@src = Pathname.new(mktmpdir)
@dst = Pathname.new(mktmpdir)
@file = @src/"foo"
@dir = @src/"bar"
end
-
- def teardown
- rmtree(@src)
- rmtree(@dst)
- end
end
class PathnameTests < Homebrew::TestCase