aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/utils_test.rb
diff options
context:
space:
mode:
authorAlyssa Ross2017-01-21 14:57:44 +0000
committerAlyssa Ross2017-01-22 19:53:58 +0000
commit116ed3ec80b6d1b9d6178f25793cfcaaaa161308 (patch)
tree5ba702bfb1da06de3adf717f867537f667bacb52 /Library/Homebrew/test/utils_test.rb
parent6e0f1366b014b285799c9bb9c311c6345bcd666b (diff)
downloadbrew-116ed3ec80b6d1b9d6178f25793cfcaaaa161308.tar.bz2
tests: automatically restore ENV in teardown
Diffstat (limited to 'Library/Homebrew/test/utils_test.rb')
-rw-r--r--Library/Homebrew/test/utils_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/test/utils_test.rb b/Library/Homebrew/test/utils_test.rb
index 7099e332c..7ff4e192a 100644
--- a/Library/Homebrew/test/utils_test.rb
+++ b/Library/Homebrew/test/utils_test.rb
@@ -7,12 +7,6 @@ class UtilTests < Homebrew::TestCase
def setup
super
@dir = Pathname.new(mktmpdir)
- @env = ENV.to_hash
- end
-
- def teardown
- ENV.replace @env
- super
end
def test_ofail