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 34e24669a..15d7666f7 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -276,24 +276,22 @@ EXPECTED end def test_table_with_trailing_whitespace - raw = <<-RAW -This is a table with trailing whitespace in one row: + raw = <<~RAW + This is a table with trailing whitespace in one row: -|cell11|cell12| -|cell21|cell22| -|cell31|cell32| -RAW - - expected = <<-EXPECTED -
This is a table with trailing whitespace in one row:
- -| cell11 | cell12 |
| cell21 | cell22 |
| cell31 | cell32 |
This is a table with trailing whitespace in one row:
+| cell11 | cell12 |
| cell21 | cell22 |
| cell31 | cell32 |