From 776785459be67096efd0331c2d69f6133ab18dff Mon Sep 17 00:00:00 2001 From: Mike McQuaid <mike@mikemcquaid.com> Date: Tue, 27 Sep 2016 13:02:07 +0100 Subject: [PATCH] test/test_audit: fix rubocop style. --- Library/Homebrew/test/test_audit.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/test_audit.rb b/Library/Homebrew/test/test_audit.rb index 98ab780b42..2725f906e3 100644 --- a/Library/Homebrew/test/test_audit.rb +++ b/Library/Homebrew/test/test_audit.rb @@ -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 -- GitLab