Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fixed an unfortunate typo in the todo list tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck committed Feb 25, 2020
1 parent 38a8f78 commit b0a9811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/gfmdataprocessor/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ describe( 'GFMDataProcessor', () => {
describe( 'todo lists', () => {
it( 'should process todo lists', () => {
test(
'* [ ] List 1\n' +
'* [ ] Item 1\n' +
'* [x] Item 2',

'<ul>' +
'<li><input disabled="" type="checkbox"></input>List 1</li>' +
'<li><input disabled="" type="checkbox"></input>Item 1</li>' +
'<li><input checked="" disabled="" type="checkbox"></input>Item 2</li>' +
'</ul>' );
} );
Expand All @@ -373,7 +373,7 @@ describe( 'GFMDataProcessor', () => {
);

expect( mdDataProcessor.toData( viewFragment ) ).to.equal(
'* [ ] List 1\n' +
'* [ ] Item 1\n' +
'* [x] Item 2'
);
} );
Expand Down

0 comments on commit b0a9811

Please sign in to comment.