aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/shell_test.rb
diff options
context:
space:
mode:
authorAlyssa Ross2017-02-12 15:06:54 +0000
committerAlyssa Ross2017-02-12 15:11:38 +0000
commit9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (patch)
tree78353f4e7cfe59f5da266a951939c868db11c170 /Library/Homebrew/test/shell_test.rb
parent76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff)
downloadbrew-9e97eadccbd99df1c6ffe489ab316d7ebde7fe86.tar.bz2
rubocop: trailing comma in multiline method calls
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
Diffstat (limited to 'Library/Homebrew/test/shell_test.rb')
-rw-r--r--Library/Homebrew/test/shell_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/shell_test.rb b/Library/Homebrew/test/shell_test.rb
index a04ab8331..970489702 100644
--- a/Library/Homebrew/test/shell_test.rb
+++ b/Library/Homebrew/test/shell_test.rb
@@ -42,7 +42,7 @@ class ShellSmokeTest < Homebrew::TestCase
prepend_message = Utils::Shell.prepend_path_in_shell_profile(path)
assert(
prepend_message.start_with?(fragment),
- "#{shell}: expected #{prepend_message} to match #{fragment}"
+ "#{shell}: expected #{prepend_message} to match #{fragment}",
)
end