Explorar o código

Fixes: fixes required by ckeditor5-engine/t355.

Szymon Cofalik %!s(int64=9) %!d(string=hai) anos
pai
achega
f519c4af9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-core/tests/command/attributecommand.js

+ 1 - 1
packages/ckeditor5-core/tests/command/attributecommand.js

@@ -197,7 +197,7 @@ describe( '_doExecute', () => {
 
 		let i = 0;
 
-		for ( let node of Range.createFromElement( p ).getItems( { singleCharacters: true } ) ) {
+		for ( let node of Range.createIn( p ).getItems( { singleCharacters: true } ) ) {
 			expect( node.hasAttribute( attrKey ) ).to.equal( !!expectedHas[ i++ ] );
 		}
 	} );