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
commit0618d3c576ee2a5a0e3102d06f49371f2a09b42e (patch)
treee86b2faa524358f61adfea20f4f1e8f56a8a9a37 /Library/Homebrew/test
parenta5385803691189fe775078172399541ee6475cf5 (diff)
downloadhomebrew-0618d3c576ee2a5a0e3102d06f49371f2a09b42e.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