mirror of
https://github.com/redmine/redmine.git
synced 2025-11-16 02:06:04 +01:00
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
This commit is contained in:
@@ -540,16 +540,15 @@ STR
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_get_section_should_support_headings_starting_with_a_tab
|
def test_get_section_should_support_headings_starting_with_a_tab
|
||||||
text = <<-STR
|
text = <<~STR
|
||||||
h1.\tHeading 1
|
h1.\tHeading 1
|
||||||
|
|
||||||
Content 1
|
Content 1
|
||||||
|
|
||||||
h1. Heading 2
|
h1. Heading 2
|
||||||
|
|
||||||
Content 2
|
|
||||||
STR
|
|
||||||
|
|
||||||
|
Content 2
|
||||||
|
STR
|
||||||
assert_match /\Ah1.\tHeading 1\s+Content 1\z/, @formatter.new(text).get_section(1).first
|
assert_match /\Ah1.\tHeading 1\s+Content 1\z/, @formatter.new(text).get_section(1).first
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user