From cbae10a732f18bd8b96edd114a5aa7904cdbb433 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_custom_command: fix rubocop style.

---
 Library/Homebrew/test/test_custom_command.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Library/Homebrew/test/test_custom_command.rb b/Library/Homebrew/test/test_custom_command.rb
index b3cd39f276..bc27e2121e 100644
--- a/Library/Homebrew/test/test_custom_command.rb
+++ b/Library/Homebrew/test/test_custom_command.rb
@@ -6,7 +6,9 @@ class IntegrationCommandTestCustomCommand < IntegrationCommandTestCase
       cmd = "int-test-#{rand}"
       file = "#{path}/brew-#{cmd}"
 
-      File.open(file, "w") { |f| f.write "#!/bin/sh\necho 'I am #{cmd}'\n" }
+      File.open(file, "w") do |f|
+        f.write "#!/bin/sh\necho 'I am #{cmd}'\n"
+      end
       FileUtils.chmod 0777, file
 
       assert_match "I am #{cmd}",
-- 
GitLab