Index: tests/lib_strong/html/custom_elements_test.dart |
diff --git a/tests/lib_strong/html/custom_elements_test.dart b/tests/lib_strong/html/custom_elements_test.dart |
index 05fe5d2b2728d2b94681ac387eabb04fc41f3040..233972ea365b6ebf06ed52138dd2be0dc6d31c61 100644 |
--- a/tests/lib_strong/html/custom_elements_test.dart |
+++ b/tests/lib_strong/html/custom_elements_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
library custom_elements_test; |
+ |
import 'dart:async'; |
import 'dart:html'; |
import 'package:unittest/html_individual_config.dart'; |
@@ -17,11 +18,11 @@ class CustomMixin { |
} |
} |
-class CustomType extends HtmlElement with CustomMixin{ |
+class CustomType extends HtmlElement with CustomMixin { |
bool createdCalled = false; |
factory CustomType() => null; |
- CustomType.created(): super.created() { |
+ CustomType.created() : super.created() { |
createdCalled = true; |
customCreatedCount++; |
} |
@@ -136,7 +137,7 @@ main() { |
var element = new DivElement(); |
element.setInnerHtml('<$tag></$tag>', |
treeSanitizer: new NullTreeSanitizer()); |
- upgradeCustomElements(element); |
+ upgradeCustomElements(element); |
document.body.nodes.add(element); |
var queried = query(tag) as CustomType; |
@@ -151,7 +152,7 @@ main() { |
var element = new DivElement(); |
element.setInnerHtml('<$tag id="someid"></$tag>', |
treeSanitizer: new NullTreeSanitizer()); |
- upgradeCustomElements(element); |
+ upgradeCustomElements(element); |
document.body.nodes.add(element); |
var queried = query('#someid') as CustomType; |