Skip to content

Commit

Permalink
test(post): fix cases added in #4161 (#4162)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW authored Feb 27, 2020
1 parent a9fb3fd commit 2717d09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/scripts/hexo/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,9 @@ describe('Post', () => {
engine: 'markdown'
}).then(data => {
data.content.trim().should.eql([
'<blockquote class="pullquote"><p>content1</p>\n</blockquote>\n',
'<blockquote class="pullquote"><p>content1</p>\n</blockquote>\n\n',
'<p>This is a following paragraph</p>\n',
'<blockquote class="pullquote"><p>content2</p>\n</blockquote>\n'
'<blockquote class="pullquote"><p>content2</p>\n</blockquote>'
].join(''));
});
});
Expand All @@ -925,9 +925,9 @@ describe('Post', () => {
engine: 'markdown'
}).then(data => {
data.content.trim().should.eql([
'<blockquote class="pullquote center"><p>content1</p>\n</blockquote>\n',
'<blockquote class="pullquote center"><p>content1</p>\n</blockquote>\n\n',
'<p>This is a following paragraph</p>\n',
'<blockquote class="pullquote center"><p>content2</p>\n</blockquote>\n'
'<blockquote class="pullquote center"><p>content2</p>\n</blockquote>'
].join(''));
});
});
Expand Down

0 comments on commit 2717d09

Please sign in to comment.