license: style fixes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
839f52006c
commit
fa80b484f1
@ -60,9 +60,7 @@ Metrics/MethodLength:
|
|||||||
Max: 260
|
Max: 260
|
||||||
Metrics/ModuleLength:
|
Metrics/ModuleLength:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Max: 500
|
Max: 600
|
||||||
Exclude:
|
|
||||||
- 'test/dev-cmd/audit_spec.rb'
|
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Max: 80
|
Max: 80
|
||||||
|
|||||||
@ -174,8 +174,8 @@ module Homebrew
|
|||||||
expect(fa.problems).to be_empty
|
expect(fa.problems).to be_empty
|
||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that a standard license id is in the same exempted license group"\
|
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
|
"as what is indicated on its GitHub repo" do
|
||||||
fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true
|
fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -188,8 +188,8 @@ module Homebrew
|
|||||||
expect(fa.problems).to be_empty
|
expect(fa.problems).to be_empty
|
||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that a standard license array is in the same exempted license group"\
|
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
|
"as what is indicated on its GitHub repo" do
|
||||||
fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true
|
fa = formula_auditor "cask", <<~RUBY, spdx_data: spdx_data, online: true, new_formula: true
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user