From 2256e547d918bc9d5423761a38051b303712938b Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Fri, 27 Nov 2020 13:14:39 -0500 Subject: [PATCH] Remove unneeded "formulae exist" test --- .../helper/spec/shared_examples/formulae_exist.rb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb 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 deleted file mode 100644 index e52610016f..0000000000 --- a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb +++ /dev/null @@ -1,13 +0,0 @@ -# typed: false -# frozen_string_literal: true - -shared_examples "formulae exist" do |array| - array.each do |f| - it "#{f} formula exists" do - 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 - end - end -end