1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Update failing test after hardbreaks enabled by default (#35754, #32424).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2021-08-15 05:57:57 +00:00
parent 3b4a42331c
commit 9651398469

View File

@ -36,8 +36,8 @@ class Redmine::WikiFormatting::CommonMark::FormatterTest < ActionView::TestCase
assert_equal html, format("foo \nbar")
end
def test_should_ignore_soft_breaks
assert_equal "<p>foo\nbar</p>", format("foo\nbar")
def test_should_render_soft_breaks
assert_equal "<p>foo<br>\nbar</p>", format("foo\nbar")
end
def test_syntax_error_in_image_reference_should_not_raise_exception