0010-Fixes-failing-test-on-CommonMark-by-striping-the-tra.patch

Marius BALTEANU, 2021-07-04 12:21

Download (1.2 KB)

View differences:

test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb
149 149
        </ol>
150 150
      EXPECTED
151 151

  
152
      assert_equal expected.gsub(%r{[\r\n\t]}, ''), format(text).gsub(%r{[\r\n\t]}, '')
152
      assert_equal expected.gsub(%r{[\r\n\t]}, ''), format(text).gsub(%r{[\r\n\t]}, '').rstrip
153 153
    end
154 154

  
155 155
    STR_WITH_PRE = [
156
-