brew style --fix

This commit is contained in:
lionellloh 2020-07-28 21:04:45 +08:00
parent 67a974455b
commit 4f45ddd55b

View File

@ -86,9 +86,9 @@ module Homebrew
let(:custom_spdx_id) { "zzz" }
let(:standard_mismatch_spdx_id) { "0BSD" }
let(:license_array) { ['0BSD', 'GPL-3.0'] }
let(:license_array_mismatch) { ['0BSD', 'MIT'] }
let(:license_array_nonstandard) { ['0BSD', 'zzz', 'MIT'] }
let(:license_array) { ["0BSD", "GPL-3.0"] }
let(:license_array_mismatch) { ["0BSD", "MIT"] }
let(:license_array_nonstandard) { ["0BSD", "zzz", "MIT"] }
it "does not check if the formula is not a new formula" do
fa = formula_auditor "foo", <<~RUBY, spdx_data: spdx_data, new_formula: false