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 fb9e5a967..9a7d8a5f5 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -337,38 +337,36 @@ EXPECTED end def test_tables_with_lists - raw = <<-RAW -This is a table with lists: + raw = <<~RAW + This is a table with lists: -|cell11|cell12| -|cell21|ordered list -# item -# item 2| -|cell31|unordered list -* item -* item 2| + |cell11|cell12| + |cell21|ordered list + # item + # item 2| + |cell31|unordered list + * item + * item 2| -RAW - - expected = <<-EXPECTED -
This is a table with lists:
- -| cell11 | -cell12 | -
| cell21 | -ordered list # item # item 2 |
-
| cell31 | -unordered list * item * item 2 |
-
This is a table with lists:
+| cell11 | +cell12 | +
| cell21 | +ordered list # item # item 2 |
+
| cell31 | +unordered list * item * item 2 |
+