Sfoglia il codice sorgente

Code style: Aligned assertion style with the previous form.

So that the diff is smaller.
Marek Lewandowski 6 anni fa
parent
commit
a9a95fea45
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      packages/ckeditor5-widget/tests/widget-integration.js

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

@@ -118,8 +118,9 @@ describe( 'Widget - integration', () => {
 
 		sinon.assert.notCalled( preventDefault );
 
-		expect( getViewData( view ) ).to.equal( '<p>[]</p>' +
-			'<div class="ck-widget" contenteditable="false"><figcaption contenteditable="true">foo bar</figcaption></div>' );
+		expect( getViewData( view ) ).to.equal(
+			'<p>[]</p><div class="ck-widget" contenteditable="false"><figcaption contenteditable="true">foo bar</figcaption></div>'
+		);
 
 		expect( getModelData( model ) ).to.equal( '<paragraph>[]</paragraph><widget><nested>foo bar</nested></widget>' );
 	} );