diff options
| author | Mike McQuaid | 2016-09-27 13:02:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-27 13:02:07 +0100 |
| commit | 776785459be67096efd0331c2d69f6133ab18dff (patch) | |
| tree | bb80003fc383389f6242856772451ef4fec6452b | |
| parent | 47fe231552c56989fa1f530b1817aafa4c31dff3 (diff) | |
| download | brew-776785459be67096efd0331c2d69f6133ab18dff.tar.bz2 | |
test/test_audit: fix rubocop style.
| -rw-r--r-- | Library/Homebrew/test/test_audit.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_audit.rb b/Library/Homebrew/test/test_audit.rb index 98ab780b4..2725f906e 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 |
