Skip to content

Commit

Permalink
test(post): fix cases added in #4161 (#4162)
Browse files Browse the repository at this point in the history
SukkaW authored Feb 27, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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(''));
});
});
@@ -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(''));
});
});

0 comments on commit 2717d09

Please sign in to comment.