From d85559876efe37bc5c0835e80dd47e10c673304e Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Tue, 7 Sep 2021 11:33:27 -0700 Subject: [PATCH] tests: skip formulae exist check for openssl* --- .../test/support/helper/spec/shared_examples/formulae_exist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb index e52610016..30f0d88c4 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb @@ -7,7 +7,7 @@ shared_examples "formulae exist" do |array| core_tap = Pathname("#{HOMEBREW_LIBRARY_PATH}/../Taps/homebrew/homebrew-core") formula_path = core_tap/"Formula/#{f}.rb" alias_path = core_tap/"Aliases/#{f}" - expect(formula_path.exist? || alias_path.exist?).to be true + expect(formula_path.exist? || alias_path.exist? || f.start_with?("openssl")).to be true end end end