license: style fixes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Jonathan Chang 2020-08-05 20:26:13 +10:00 committed by GitHub
parent 839f52006c
commit fa80b484f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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"