Ver Fonte

Fixed failing test.

Oskar Wrobel há 9 anos atrás
pai
commit
e413bb2143

+ 1 - 1
packages/ckeditor5-ui/src/template.js

@@ -35,7 +35,7 @@ const bindIfSymbol = Symbol( 'bindIf' );
  *
  * will render the following HTMLElement:
  *
- *		<p class="foo" style="background-color:yellow">A paragraph.</p>
+ *		<p class="foo" style="background-color: yellow;">A paragraph.</p>
  *
  * See {@link ui.TemplateDefinition} to know more about templates and see complex examples.
  *

+ 1 - 1
packages/ckeditor5-ui/tests/template.js

@@ -376,7 +376,7 @@ describe( 'Template', () => {
 					}
 				} );
 
-				expect( el.outerHTML ).to.be.equal( '<p style="background-color: yellow;"></p>' );
+				expect( el.outerHTML ).to.be.equal( '<p></p>' );
 			} );
 
 			it( 'renders with empty properties', () => {