Merge pull request #1879 from alyssais/formulary_cache_clear

tests: add a missing Tab cache clear
This commit is contained in:
Mike McQuaid 2017-01-19 17:04:10 +00:00 committed by GitHub
commit 0810039868
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@ class InstallTests < Homebrew::TestCase
assert_equal 3, bin.children.length
assert_predicate f.prefix/".brew/testball.rb", :readable?
end
ensure
ARGV.reject! { |a| a == "--with-invalid_flag" }
end
def test_bottle_unneeded_formula_install

View File

@ -110,6 +110,7 @@ class FormularyFactoryTest < Homebrew::TestCase
keg.uninstall
formula.clear_cache
formula.bottle.clear_cache
Tab.clear_cache
end
def test_load_from_contents