From da77f23bc7007628f000ca4854902c8dcef0a27d Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 20 Jan 2018 23:21:25 -0800 Subject: rubocop: don't always display cop names. --- Library/Homebrew/test/cmd/style_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/cmd/style_spec.rb b/Library/Homebrew/test/cmd/style_spec.rb index 61faa4af2..5c118f32e 100644 --- a/Library/Homebrew/test/cmd/style_spec.rb +++ b/Library/Homebrew/test/cmd/style_spec.rb @@ -28,7 +28,7 @@ describe "brew style" do rubocop_result = Homebrew.check_style_json([formula]) expect(rubocop_result.file_offenses(formula.realpath.to_s).map(&:message)) - .to include("Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.") + .to include("Extra empty line detected at class body beginning.") end end end -- cgit v1.2.3