aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index ef3e0952b..f3339d95e 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -61,11 +61,12 @@ class FormulaTests < Test::Unit::TestCase
def test_mirror_support
HOMEBREW_CACHE.mkpath unless HOMEBREW_CACHE.exist?
- f = TestBallWithMirror.new
- tarball, downloader = f.fetch
-
- assert_equal f.url, "file:///#{TEST_FOLDER}/bad_url/testball-0.1.tbz"
- assert_equal downloader.url, "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
+ nostdout do
+ f = TestBallWithMirror.new
+ tarball, downloader = f.fetch
+ assert_equal f.url, "file:///#{TEST_FOLDER}/bad_url/testball-0.1.tbz"
+ assert_equal downloader.url, "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
+ end
end
def test_compiler_selection