Procházet zdrojové kódy

Changed: Aligned code to changes in ckeditor5-engine.

Szymon Cofalik před 8 roky
rodič
revize
5ded5ea339
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      packages/ckeditor5-link/tests/linkcommand.js

+ 3 - 1
packages/ckeditor5-link/tests/linkcommand.js

@@ -220,7 +220,9 @@ describe( 'LinkCommand', () => {
 
 				command.execute( 'url' );
 
-				expect( getData( model ) ).to.equal( '<$text bold="true">foo[<$text linkHref="url">url</$text>]bar</$text>' );
+				expect( getData( model ) ).to.equal(
+					'<$text bold="true">foo</$text>[<$text bold="true" linkHref="url">url</$text>]<$text bold="true">bar</$text>'
+				);
 			} );
 
 			it( 'should update `linkHref` attribute and select whole link when selection is inside text with `linkHref` attribute', () => {