aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rwxr-xr-xLibrary/Homebrew/test/unittest.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/test/unittest.rb b/Library/Homebrew/test/unittest.rb
index 90d9ecdbc..d611ce234 100755
--- a/Library/Homebrew/test/unittest.rb
+++ b/Library/Homebrew/test/unittest.rb
@@ -136,21 +136,6 @@ class RefreshBrewMock < RefreshBrew
end
end
-def nostdout
- if ARGV.include? '-V'
- yield
- end
- begin
- require 'stringio'
- tmpo=$stdout
- tmpe=$stderr
- $stdout=StringIO.new
- yield
- ensure
- $stdout=tmpo
- end
-end
-
module ExtendArgvPlusYeast
def reset
@named = nil