浏览代码

Tests: Fixed test.

Szymon Cofalik 8 年之前
父节点
当前提交
13fc337ccc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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' ) ]
 				}
 			] );