From 365e554f67f08c45843df32ba4eb01b3f6ce58dd Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 9 Sep 2021 09:16:59 +0100 Subject: [PATCH] Revert "rubocops: allow uses_from_macos `openssl@3`" --- Library/Homebrew/rubocops/uses_from_macos.rb | 1 - .../test/support/helper/spec/shared_examples/formulae_exist.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/rubocops/uses_from_macos.rb b/Library/Homebrew/rubocops/uses_from_macos.rb index 83b5523985..2c26fc2aaf 100644 --- a/Library/Homebrew/rubocops/uses_from_macos.rb +++ b/Library/Homebrew/rubocops/uses_from_macos.rb @@ -82,7 +82,6 @@ module RuboCop gzip openssl openssl@1.1 - openssl@3 perl php python 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 30f0d88c4e..e52610016f 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? || f.start_with?("openssl")).to be true + expect(formula_path.exist? || alias_path.exist?).to be true end end end