diff --git a/Library/Homebrew/test/cli/parser_spec.rb b/Library/Homebrew/test/cli/parser_spec.rb index 5232fc4673..1c6516ef9c 100644 --- a/Library/Homebrew/test/cli/parser_spec.rb +++ b/Library/Homebrew/test/cli/parser_spec.rb @@ -583,7 +583,7 @@ RSpec.describe Homebrew::CLI::Parser do # commands for formulae and casks on Linux. it "succeeds for developer commands" do require "dev-cmd/cat" - args = Homebrew.cat_args.parse(["--cask", "cask_name"]) + args = Homebrew::DevCmd::Cat.new(["--cask", "cask_name"]).args expect(args.cask?).to be(true) end end