浏览代码

Fix code styling for multiline comment description,

to address https://github.com/ckeditor/ckeditor5/pull/6801/files#r424429584
Tomek Wytrębowicz 5 年之前
父节点
当前提交
fc82d5cec7
共有 1 个文件被更改,包括 16 次插入13 次删除
  1. 16 13
      packages/ckeditor5-table/tests/ui/colorinputview.js

+ 16 - 13
packages/ckeditor5-table/tests/ui/colorinputview.js

@@ -218,22 +218,25 @@ describe( 'ColorInputView', () => {
 				expect( inputView.value ).to.equal( 'bar' );
 			} );
 
-			it( `when the color input value is set to one of defined colors, but with few additional white spaces,
-			should use its label as the text input value`, () => {
-				view.value = 'rgb(0,    255, 0)';
-				expect( inputView.value ).to.equal( 'Green' );
+			it(
+				`when the color input value is set to one of defined colors, but with few additional white spaces,
+				should use its label as the text input value`,
+				() => {
+					view.value = 'rgb(0,    255, 0)';
+					expect( inputView.value ).to.equal( 'Green' );
 
-				view.value = '   rgb( 255 0  0)    ';
-				expect( inputView.value ).to.equal( 'Red' );
+					view.value = '   rgb( 255 0  0)    ';
+					expect( inputView.value ).to.equal( 'Red' );
 
-				view.value = ' 		  rgb(0,  0,  255 )';
-				expect( inputView.value ).to.equal( 'Blue' );
+					view.value = ' 		  rgb(0,  0,  255 )';
+					expect( inputView.value ).to.equal( 'Blue' );
 
-				// Blindly stripping spaces may not work.
-				// rgb(25 50 0) != rgb(255 0 0)
-				view.value = ' 		  rgb(25 50  0)';
-				expect( inputView.value ).to.equal( ' 		  rgb(25 50  0)' );
-			} );
+					// Blindly stripping spaces may not work.
+					// rgb(25 50 0) != rgb(255 0 0)
+					view.value = ' 		  rgb(25 50  0)';
+					expect( inputView.value ).to.equal( ' 		  rgb(25 50  0)' );
+				}
+			);
 
 			it( `when the color input value is set to one of defined colors,
 			should use its label as the text input value`, () => {