test/test_audit: fix rubocop style.
This commit is contained in:
parent
47fe231552
commit
776785459b
@ -67,7 +67,9 @@ class FormulaAuditorTests < Homebrew::TestCase
|
|||||||
|
|
||||||
def formula_auditor(name, text, options = {})
|
def formula_auditor(name, text, options = {})
|
||||||
path = Pathname.new "#{@dir}/#{name}.rb"
|
path = Pathname.new "#{@dir}/#{name}.rb"
|
||||||
path.open("w") { |f| f.write text }
|
path.open("w") do |f|
|
||||||
|
f.write text
|
||||||
|
end
|
||||||
FormulaAuditor.new Formulary.factory(path), options
|
FormulaAuditor.new Formulary.factory(path), options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user