From e44d928fdf436d276cc0b45a2894f2f575b90fe6 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 22 Nov 2019 14:33:49 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_get_section_should_support_headings_starting_with_a_tab git-svn-id: http://svn.redmine.org/redmine/trunk@19160 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../wiki_formatting/textile_formatter_test.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb index c78bbc5a3..6cfd696bd 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -540,16 +540,15 @@ STR end def test_get_section_should_support_headings_starting_with_a_tab - text = <<-STR -h1.\tHeading 1 + text = <<~STR + h1.\tHeading 1 -Content 1 + Content 1 -h1. Heading 2 - -Content 2 -STR + h1. Heading 2 + Content 2 + STR assert_match /\Ah1.\tHeading 1\s+Content 1\z/, @formatter.new(text).get_section(1).first end