Project

General

Profile

Feature #32424 » 0010-Fixes-failing-test-on-CommonMark-by-striping-the-tra.patch

Marius BĂLTEANU, 2021-07-04 12:21

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 = [
(12-12/26)