Browse Source

Removed unnecessary part of the code.

Kamil Piechaczek 8 years ago
parent
commit
d1fbfa506e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/ckeditor5-engine/tests/model/liveselection.js

+ 0 - 2
packages/ckeditor5-engine/tests/model/liveselection.js

@@ -883,8 +883,6 @@ describe( 'LiveSelection', () => {
 			doc.schema.allow( { name: '$inline', inside: 'caption' } );
 			doc.schema.allow( { name: '$inline', inside: 'caption' } );
 			doc.schema.allow( { name: 'caption', inside: 'image' } );
 			doc.schema.allow( { name: 'caption', inside: 'image' } );
 			doc.schema.allow( { name: '$text', attributes: 'bold', inside: 'caption' } );
 			doc.schema.allow( { name: '$text', attributes: 'bold', inside: 'caption' } );
-
-			root.removeChildren( 0, root.childCount );
 		} );
 		} );
 
 
 		it( 'ignores attributes from nested editable if selection contains an object', () => {
 		it( 'ignores attributes from nested editable if selection contains an object', () => {