From fe45e21d32ba723bd8c45dc9bcec5310c2063b01 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 27 Feb 2020 22:28:00 +0800 Subject: [PATCH] test(post): fix cases added in #4161 --- test/scripts/hexo/post.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/scripts/hexo/post.js b/test/scripts/hexo/post.js index a02b8b4a8e..868dec64f5 100644 --- a/test/scripts/hexo/post.js +++ b/test/scripts/hexo/post.js @@ -903,9 +903,9 @@ describe('Post', () => { engine: 'markdown' }).then(data => { data.content.trim().should.eql([ - '

content1

\n
\n', + '

content1

\n
\n\n', '

This is a following paragraph

\n', - '

content2

\n
\n' + '

content2

\n
' ].join('')); }); }); @@ -925,9 +925,9 @@ describe('Post', () => { engine: 'markdown' }).then(data => { data.content.trim().should.eql([ - '

content1

\n
\n', + '

content1

\n
\n\n', '

This is a following paragraph

\n', - '

content2

\n
\n' + '

content2

\n
' ].join('')); }); });