diff options
| author | Jack Nagel | 2012-04-06 22:06:05 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-06 22:06:05 -0500 |
| commit | 21075711b764953ec6eafa67e8ea0036945572b7 (patch) | |
| tree | 64b8964f42602c445865ea867b48e5c4361f3970 /Library/Homebrew | |
| parent | 40d27ff4aeb9b2492d571c17eb78b6c8962922e5 (diff) | |
| download | homebrew-21075711b764953ec6eafa67e8ea0036945572b7.tar.bz2 | |
tests: silence mirror test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/test/test_formula.rb | 11 |
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 |
