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

Unified Diff: tests/language_strong/generic_inheritance_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/language_strong/generic_inheritance_test.dart
diff --git a/tests/language_strong/generic_inheritance_test.dart b/tests/language_strong/generic_inheritance_test.dart
index fec8adb6343264dcf6c7713734e530e1cb8edd7b..404723a2548e94fcc1a5491fb60c799e2f92ec3f 100644
--- a/tests/language_strong/generic_inheritance_test.dart
+++ b/tests/language_strong/generic_inheritance_test.dart
@@ -7,9 +7,17 @@
import "package:expect/expect.dart";
-class A<T> { A(); }
-class B extends A<Object> { B(); }
-class C extends B { C(); }
+class A<T> {
+ A();
+}
+
+class B extends A<Object> {
+ B();
+}
+
+class C extends B {
+ C();
+}
main() {
var a = new A<String>();
@@ -18,13 +26,13 @@ main() {
Expect.isTrue(a is Object);
Expect.isTrue(a is A<Object>);
Expect.isTrue(a is A<String>);
- Expect.isTrue(a is !A<int>);
+ Expect.isTrue(a is! A<int>);
Expect.isTrue(b is Object);
Expect.isTrue(b is A<Object>);
- Expect.isTrue(b is !A<String>);
+ Expect.isTrue(b is! A<String>);
Expect.isTrue(b is Object);
Expect.isTrue(c is Object);
Expect.isTrue(c is A<Object>);
- Expect.isTrue(c is !A<String>);
+ Expect.isTrue(c is! A<String>);
Expect.isTrue(c is B);
}

Powered by Google App Engine
This is Rietveld 408576698