Ver código fonte

Internal: Align code to the API changes (selection post-fixer).

Maciej Gołaszewski 7 anos atrás
pai
commit
a84b9d459d
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      packages/ckeditor5-widget/tests/widget.js

+ 2 - 2
packages/ckeditor5-widget/tests/widget.js

@@ -675,8 +675,8 @@ describe( 'Widget', () => {
 				'should selected whole content when widget is selected',
 				'<paragraph>foo</paragraph>[<widget></widget>]<paragraph>bar</paragraph>',
 				{ keyCode: keyCodes.a, ctrlKey: true },
-				'[<paragraph>foo</paragraph><widget></widget><paragraph>bar</paragraph>]',
-				'[<p>foo</p><div class="ck-widget ck-widget_selected" contenteditable="false"><b></b></div><p>bar</p>]'
+				'<paragraph>[foo</paragraph><widget></widget><paragraph>bar]</paragraph>',
+				'<p>{foo</p><div class="ck-widget ck-widget_selected" contenteditable="false"><b></b></div><p>bar}</p>'
 
 			);
 		} );