Explorar o código

Code style: Aligned assertion style with the previous form.

So that the diff is smaller.
Marek Lewandowski %!s(int64=6) %!d(string=hai) anos
pai
achega
a9a95fea45
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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>' );
 	} );