summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-08-15 05:57:57 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-08-15 05:57:57 +0000
commit96513984699fb28878926d984207e66e38baf0cf (patch)
treef09c02bf4be7ed059907b6b8b6967b402820cef1 /test/unit
parent3b4a42331ce01fd36cd1d70aefb595f1e0741218 (diff)
downloadredmine-96513984699fb28878926d984207e66e38baf0cf.tar.gz
redmine-96513984699fb28878926d984207e66e38baf0cf.zip
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
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb
index b92121c55..d121d5425 100644
--- a/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/common_mark/formatter_test.rb
@@ -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