1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_nested_lists

git-svn-id: http://svn.redmine.org/redmine/trunk@19168 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-22 14:35:20 +00:00
parent 60878a2ad3
commit 11383795ab

View File

@ -133,7 +133,7 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
end
def test_nested_lists
raw = <<-RAW
raw = <<~RAW
# Item 1
# Item 2
** Item 2a
@ -141,8 +141,7 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
# Item 3
** Item 3a
RAW
expected = <<-EXPECTED
expected = <<~EXPECTED
<ol>
<li>Item 1</li>
<li>Item 2
@ -158,7 +157,6 @@ RAW
</li>
</ol>
EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), to_html(raw).gsub(%r{\s+}, '')
end