Browse Source

Tests: Fixed test.

Szymon Cofalik 8 years ago
parent
commit
13fc337ccc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-typing/tests/input.js

+ 1 - 1
packages/ckeditor5-typing/tests/input.js

@@ -643,7 +643,7 @@ describe( 'Input feature', () => {
 					type: 'children',
 					node: italic,
 					oldChildren: [ text ],
-					newChildren: [ new ViewElement( 'a', null, text ), new ViewText( 'x' ) ]
+					newChildren: [ new ViewElement( 'a', null, text.clone() ), new ViewText( 'x' ) ]
 				}
 			] );