From 98e7538679d26d37fdbde568210915527de3d4f0 Mon Sep 17 00:00:00 2001 From: souleater7 <56251694+souleater7@users.noreply.github.com> Date: Tue, 5 Jan 2021 15:22:26 -0800 Subject: [PATCH] Fix style test in lines_spec.rb --- 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 dd51cf5e89..8abd8ea169 100644 --- a/Library/Homebrew/test/rubocops/lines_spec.rb +++ b/Library/Homebrew/test/rubocops/lines_spec.rb @@ -1387,8 +1387,8 @@ describe RuboCop::Cop::FormulaAudit::Miscellaneous do url 'https://brew.sh/foo-1.0.tgz' test do head = ARGV.include? "--HEAD" - ^^^^^^ Use "if build.head?" instead ^^^^ Use build instead of ARGV to check options + ^^^^^^^^^^^^^^^^^^^^^^ Use "if build.head?" instead end end RUBY