aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_custom_command.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-27 13:32:26 +0100
committerGitHub2016-09-27 13:32:26 +0100
commit7e93340073106f9f5a4bef057823210fb432c064 (patch)
treebd0c814ff2bbfc78743a926c547f5d0d5add7953 /Library/Homebrew/test/test_custom_command.rb
parent4488eddf910e3a9e5f7fdbf55055375be13f0ae5 (diff)
parentcbae10a732f18bd8b96edd114a5aa7904cdbb433 (diff)
downloadbrew-7e93340073106f9f5a4bef057823210fb432c064.tar.bz2
Merge pull request #1164 from MikeMcQuaid/style-fixups
Rubocop style fixups
Diffstat (limited to 'Library/Homebrew/test/test_custom_command.rb')
-rw-r--r--Library/Homebrew/test/test_custom_command.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_custom_command.rb b/Library/Homebrew/test/test_custom_command.rb
index b3cd39f27..bc27e2121 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}",