From 9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 12 Feb 2017 15:06:54 +0000 Subject: 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). --- Library/Homebrew/test/shell_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test/shell_test.rb') 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 -- cgit v1.2.3