Przeglądaj źródła

Adjust code to the changes in engine.

Kamil Piechaczek 8 lat temu
rodzic
commit
4a194fe953
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-typing/tests/tickets/100.js

+ 1 - 1
packages/ckeditor5-typing/tests/tickets/100.js

@@ -116,7 +116,7 @@ describe( 'Bug ckeditor5-typing#100', () => {
 				type: 'children',
 				node: italic,
 				oldChildren: [ text ],
-				newChildren: [ new ViewElement( 'a', null, text.clone() ), new ViewText( 'x' ) ]
+				newChildren: [ new ViewElement( 'a', null, text._clone() ), new ViewText( 'x' ) ]
 			}
 		] );