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

Unified Diff: tests/html/js_interop_constructor_name_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/js_interop_constructor_name_test.dart
diff --git a/tests/html/js_interop_constructor_name_test.dart b/tests/html/js_interop_constructor_name_test.dart
index 0b488f449317d4592b591216bb3f08e599b9e293..e82422f74e3ebcf3313e400d8d15f358f39aca6b 100644
--- a/tests/html/js_interop_constructor_name_test.dart
+++ b/tests/html/js_interop_constructor_name_test.dart
@@ -21,7 +21,8 @@ class HTMLDivElement {
external String bar();
}
-@NoInline() @AssumeDynamic()
+@NoInline()
+@AssumeDynamic()
confuse(x) => x;
main() {
@@ -42,7 +43,6 @@ main() {
var e = confuse(makeDiv('hello'));
expect(e is HTMLDivElement, isTrue);
});
-
});
group('HTMLDivElement-types-erroneous1', () {
@@ -71,9 +71,7 @@ main() {
});
});
-
group('HTMLDivElement-methods', () {
-
test('js-call-js-method', () {
var e = confuse(makeDiv('hello'));
expect(e.bar(), equals('hello'));
@@ -93,6 +91,5 @@ main() {
var e = confuse(new html.DivElement());
expect(e.clone(false), new isInstanceOf<html.DivElement>());
});
-
});
}

Powered by Google App Engine
This is Rietveld 408576698