diff options
| author | Alyssa Ross | 2017-01-21 15:55:42 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2017-01-22 11:15:18 +0000 |
| commit | 1aee7c6945c3cbbbbfa2830bb1cf6bf39d4702be (patch) | |
| tree | ae572e18769e14965b9785a78db8cb63d371b43d /Library/Homebrew/test/audit_test.rb | |
| parent | d7b8420aaadf93b455a5c268777c3013f8ac2296 (diff) | |
| download | brew-1aee7c6945c3cbbbbfa2830bb1cf6bf39d4702be.tar.bz2 | |
tests: remove explicit tmpdir deletions
These are no longer necessary.
Diffstat (limited to 'Library/Homebrew/test/audit_test.rb')
| -rw-r--r-- | Library/Homebrew/test/audit_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/test/audit_test.rb b/Library/Homebrew/test/audit_test.rb index 0b13d3c2b..f8d137482 100644 --- a/Library/Homebrew/test/audit_test.rb +++ b/Library/Homebrew/test/audit_test.rb @@ -10,11 +10,6 @@ class FormulaTextTests < Homebrew::TestCase @dir = mktmpdir end - def teardown - FileUtils.rm_rf @dir - super - end - def formula_text(name, body = nil, options = {}) path = Pathname.new "#{@dir}/#{name}.rb" path.open("w") do |f| @@ -64,11 +59,6 @@ class FormulaAuditorTests < Homebrew::TestCase @dir = mktmpdir end - def teardown - FileUtils.rm_rf @dir - super - end - def formula_auditor(name, text, options = {}) path = Pathname.new "#{@dir}/#{name}.rb" path.open("w") do |f| |
