Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahDragon committed Apr 2, 2017
1 parent a83003e commit 9a01f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('Marked renderer', function() {

result.should.eql('<h1 id="中文"><a href="#中文" class="headerlink" title="中文"></a>中文</h1>');
});

it('to-do list testing', function() {
var body = [
'- [ ] test unchecked',
Expand All @@ -69,7 +69,7 @@ describe('Marked renderer', function() {
'[x] [ ] normal text'
].join('\n');
var result = r({text: body});

result.should.eql([
'<ul>',
'<li style="list-style: none"><input type="checkbox"> test unchecked</li><li style="list-style: none"><input type="checkbox" checked> test checked</li><li>normal list [x] [ ]</li></ul>',
Expand Down

0 comments on commit 9a01f38

Please sign in to comment.