Skip to content
Snippets Groups Projects
Commit 77678545 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test/test_audit: fix rubocop style.

parent 47fe2315
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,9 @@ class FormulaAuditorTests < Homebrew::TestCase
def formula_auditor(name, text, options = {})
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
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment