diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 59fc5d1ec..0bbf8cbde 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -39,11 +39,6 @@ Layout/AlignArguments: Layout/AlignHash: Enabled: false -# Cop supports --auto-correct. -Layout/ClosingHeredocIndentation: - Exclude: - - 'test/unit/lib/redmine/wiki_formatting_test.rb' - # Cop supports --auto-correct. Layout/ClosingParenthesisIndentation: Enabled: false diff --git a/test/unit/lib/redmine/wiki_formatting_test.rb b/test/unit/lib/redmine/wiki_formatting_test.rb index a9a4e4681..1c5d4d20f 100644 --- a/test/unit/lib/redmine/wiki_formatting_test.rb +++ b/test/unit/lib/redmine/wiki_formatting_test.rb @@ -37,16 +37,14 @@ class Redmine::WikiFormattingTest < ActiveSupport::TestCase end def test_should_link_urls_and_email_addresses - raw = <<-DIFF -This is a sample *text* with a link: http://www.redmine.org -and an email address foo@example.net -DIFF - - expected = <<-EXPECTED -
This is a sample *text* with a link: http://www.redmine.org
-and an email address foo@example.net
This is a sample *text* with a link: http://www.redmine.org
+ and an email address foo@example.net