Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: tests/html/custom_elements_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/html/custom_elements_test.dart
diff --git a/tests/html/custom_elements_test.dart b/tests/html/custom_elements_test.dart
index 3ab52074aceeb906cdf1893508aa144f8eb11415..9f7b210ee422258644de43ae490532e95e919296 100644
--- a/tests/html/custom_elements_test.dart
+++ b/tests/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);
@@ -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');

Powered by Google App Engine
This is Rietveld 408576698