From e3dae0c21783806b4d3e961491fe33edc6a44d7a Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 14 Feb 2023 23:16:25 +0000 Subject: [PATCH] Fix RuboCop offense Style/RedundantHeredocDelimiterQuotes (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22105 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/syntax_highlighting/rouge_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb index 129a19cf0..cebc66c7f 100644 --- a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb +++ b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb @@ -33,6 +33,7 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase end def test_highlight_by_filename_should_distinguish_perl_and_prolog + # rubocop:disable Style/RedundantHeredocDelimiterQuotes raw_perl = <<~'RAW_PERL' #!/usr/bin/perl print "Hello, world!\n"; @@ -49,6 +50,7 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase #!/usr/bin/swipl :- writeln('Hello, world!'),halt. EXPECTED_PROLOG + # rubocop:enable Style/RedundantHeredocDelimiterQuotes filename = 'hello.pl' -- 2.39.5