Browse Source

Fixed an unfortunate typo in the todo list tests.

fredck 5 years ago
parent
commit
3cb85faa97
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/ckeditor5-markdown-gfm/tests/gfmdataprocessor/lists.js

+ 3 - 3
packages/ckeditor5-markdown-gfm/tests/gfmdataprocessor/lists.js

@@ -346,11 +346,11 @@ describe( 'GFMDataProcessor', () => {
 	describe( 'todo lists', () => {
 		it( 'should process todo lists', () => {
 			testDataProcessor(
-				'*   [ ] 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>' );
 		} );
@@ -373,7 +373,7 @@ describe( 'GFMDataProcessor', () => {
 			);
 
 			expect( mdDataProcessor.toData( viewFragment ) ).to.equal(
-				'*   [ ] List 1\n' +
+				'*   [ ] Item 1\n' +
 				'*   [x] Item 2'
 			);
 		} );