From 38a427bf0d31f4cc4540c09ea94607f8fc80ee56 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Fri, 19 Feb 2021 23:54:07 +0000 Subject: [PATCH] test/option_declaration_spec: Align test description with contents --- Library/Homebrew/test/rubocops/text/option_declarations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb b/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb index 2371c0bd6b..818c894e3c 100644 --- a/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb +++ b/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb @@ -42,7 +42,7 @@ describe RuboCop::Cop::FormulaAudit::OptionDeclarations do RUBY end - it "reports an offense when `build.without?` is used for a conditional dependency" do + it "reports an offense when `build.with?` is used for a conditional dependency" do expect_offense(<<~RUBY) class Foo < Formula depends_on "bar" if build.with?("baz")