From 4e286ee36dc68584515600b6c48f370c64d4c9e5 Mon Sep 17 00:00:00 2001 From: Max Eisner <4730112+max-ae@users.noreply.github.com> Date: Thu, 11 Aug 2022 12:50:15 +0200 Subject: [PATCH] fix test --- Library/Homebrew/test/rubocops/lines_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/rubocops/lines_spec.rb b/Library/Homebrew/test/rubocops/lines_spec.rb index 893f4a2449..ff765b8bd5 100644 --- a/Library/Homebrew/test/rubocops/lines_spec.rb +++ b/Library/Homebrew/test/rubocops/lines_spec.rb @@ -63,7 +63,7 @@ describe RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL do subject(:cop) { described_class.new } it "reports an offense when writing to a shell completions file directly" do - expect_offense(<<~RUBY) + expect_offense(<<~RUBY, "/homebrew-core/Formula/foo.rb") class Foo < Formula name "foo"