aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMax Howell2009-11-09 18:24:36 +0000
committerMax Howell2009-11-09 18:24:36 +0000
commit04f3ddeac01b75c66ec8e8f83a517cc13b6d3ab9 (patch)
tree21aab0f53457fb844bb86708698b7812172afc71 /Library/Homebrew/test
parent75c7c942a176b8d2b51335b49e3829694ed44340 (diff)
downloadbrew-04f3ddeac01b75c66ec8e8f83a517cc13b6d3ab9.tar.bz2
Ignore stdout during GitDownloadStrategy.stage
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