Merge pull request #1879 from alyssais/formulary_cache_clear
tests: add a missing Tab cache clear
This commit is contained in:
commit
0810039868
@ -61,6 +61,8 @@ class InstallTests < Homebrew::TestCase
|
|||||||
assert_equal 3, bin.children.length
|
assert_equal 3, bin.children.length
|
||||||
assert_predicate f.prefix/".brew/testball.rb", :readable?
|
assert_predicate f.prefix/".brew/testball.rb", :readable?
|
||||||
end
|
end
|
||||||
|
ensure
|
||||||
|
ARGV.reject! { |a| a == "--with-invalid_flag" }
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_bottle_unneeded_formula_install
|
def test_bottle_unneeded_formula_install
|
||||||
|
|||||||
@ -110,6 +110,7 @@ class FormularyFactoryTest < Homebrew::TestCase
|
|||||||
keg.uninstall
|
keg.uninstall
|
||||||
formula.clear_cache
|
formula.clear_cache
|
||||||
formula.bottle.clear_cache
|
formula.bottle.clear_cache
|
||||||
|
Tab.clear_cache
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_load_from_contents
|
def test_load_from_contents
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user