From 96513984699fb28878926d984207e66e38baf0cf Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 15 Aug 2021 05:57:57 +0000 Subject: [PATCH] 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 --- .../lib/redmine/wiki_formatting/common_mark/formatter_test.rb | 4 ++-- 1 file 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 "

foo\nbar

", format("foo\nbar") + def test_should_render_soft_breaks + assert_equal "

foo
\nbar

", format("foo\nbar") end def test_syntax_error_in_image_reference_should_not_raise_exception