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 ed014e029..e6dcb5f18 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -236,24 +236,22 @@ EXPECTED end def test_table - raw = <<-RAW -This is a table with empty cells: + raw = <<~RAW + This is a table with empty cells: -|cell11|cell12|| -|cell21||cell23| -|cell31|cell32|cell33| -RAW - - expected = <<-EXPECTED -
This is a table with empty cells:
- -| cell11 | cell12 | |
| cell21 | cell23 | |
| cell31 | cell32 | cell33 |
This is a table with empty cells:
+| cell11 | cell12 | |
| cell21 | cell23 | |
| cell31 | cell32 | cell33 |