From 479ca5e31498bcff003643b1f97345a63ffe6f0d Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 24 Jul 2023 07:01:57 -0700 Subject: [PATCH] Fix test --- Library/Homebrew/test/formulary_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/formulary_spec.rb b/Library/Homebrew/test/formulary_spec.rb index ca6455fe73..ad81b0aa83 100644 --- a/Library/Homebrew/test/formulary_spec.rb +++ b/Library/Homebrew/test/formulary_spec.rb @@ -77,7 +77,7 @@ describe Formulary do it "raises an error if ref is nil" do expect do described_class.factory(nil) - end.to raise_error(ArgumentError) + end.to raise_error(TypeError) end context "with sharded Formula directory" do