diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index a7fa94aec1..1259bdd8bc 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -60,9 +60,7 @@ Metrics/MethodLength: Max: 260 Metrics/ModuleLength: Enabled: true - Max: 500 - Exclude: - - 'test/dev-cmd/audit_spec.rb' + Max: 600 Metrics/PerceivedComplexity: Enabled: true Max: 80 diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb index 2852ab515a..e048e664e9 100644 --- a/Library/Homebrew/test/dev-cmd/audit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb @@ -174,8 +174,8 @@ module Homebrew expect(fa.problems).to be_empty end - it "checks online and verifies that a standard license id is in the same exempted license group"\ - "as what is indicated on its Github repo" do + it "checks online and verifies that a standard license id is in the same exempted license group" \ + "as what is indicated on its GitHub repo" do fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz" @@ -188,8 +188,8 @@ module Homebrew expect(fa.problems).to be_empty end - it "checks online and verifies that a standard license array is in the same exempted license group"\ - "as what is indicated on its Github repo" do + it "checks online and verifies that a standard license array is in the same exempted license group" \ + "as what is indicated on its GitHub repo" do fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true class Cask < Formula url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"