diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index dbad1d0ca..765f27191 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -157,7 +157,6 @@ Layout/IndentFirstHashElement:
# SupportedStyles: squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
Exclude:
- - 'test/unit/lib/redmine/syntax_highlighting/rouge_test.rb'
- 'test/unit/lib/redmine/unified_diff_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/macros_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
diff --git a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
index 7df35ca64..8cdd51bc1 100644
--- a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
+++ b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
@@ -33,22 +33,22 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase
end
def test_highlight_by_filename_should_distinguish_perl_and_prolog
- raw_perl = <<'RAW_PERL'
-#!/usr/bin/perl
-print "Hello, world!\n";
-RAW_PERL
- expected_perl = <<'EXPECTED_PERL'
-#!/usr/bin/perl
-print "Hello, world!\n";
-EXPECTED_PERL
- raw_prolog = <<'RAW_PROLOG'
-#!/usr/bin/swipl
-:- writeln('Hello, world!'),halt.
-RAW_PROLOG
- expected_prolog = <<'EXPECTED_PROLOG'
-#!/usr/bin/swipl
-:- writeln('Hello, world!'),halt.
-EXPECTED_PROLOG
+ raw_perl = <<~'RAW_PERL'
+ #!/usr/bin/perl
+ print "Hello, world!\n";
+ RAW_PERL
+ expected_perl = <<~'EXPECTED_PERL'
+ #!/usr/bin/perl
+ print "Hello, world!\n";
+ EXPECTED_PERL
+ raw_prolog = <<~'RAW_PROLOG'
+ #!/usr/bin/swipl
+ :- writeln('Hello, world!'),halt.
+ RAW_PROLOG
+ expected_prolog = <<~'EXPECTED_PROLOG'
+ #!/usr/bin/swipl
+ :- writeln('Hello, world!'),halt.
+ EXPECTED_PROLOG
filename = 'hello.pl'