tests: silence mirror test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
9614301be4
commit
504756745b
@ -61,11 +61,12 @@ class FormulaTests < Test::Unit::TestCase
|
|||||||
|
|
||||||
def test_mirror_support
|
def test_mirror_support
|
||||||
HOMEBREW_CACHE.mkpath unless HOMEBREW_CACHE.exist?
|
HOMEBREW_CACHE.mkpath unless HOMEBREW_CACHE.exist?
|
||||||
f = TestBallWithMirror.new
|
nostdout do
|
||||||
tarball, downloader = f.fetch
|
f = TestBallWithMirror.new
|
||||||
|
tarball, downloader = f.fetch
|
||||||
assert_equal f.url, "file:///#{TEST_FOLDER}/bad_url/testball-0.1.tbz"
|
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"
|
assert_equal downloader.url, "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_compiler_selection
|
def test_compiler_selection
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user