Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Feb 10, 2021
1 parent e34128a commit 5fbdec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Marked renderer', () => {

result.should.eql([
'<h1 id="Hello-world"><a href="#Hello-world" class="headerlink" title="Hello world"></a>Hello world</h1>',
'<pre><code>' + escapeHTML(code) + '</code></pre>\n',
'<pre><code>' + escapeHTML(code) + '\n</code></pre>\n',
'<h2 id="Hello-world-1"><a href="#Hello-world-1" class="headerlink" title="Hello world"></a>Hello world</h2>',
'<p>hello</p>'
].join('') + '\n');
Expand Down

0 comments on commit 5fbdec8

Please sign in to comment.