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

Unified Diff: tests/language/generic_instanceof3_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/generic_instanceof3_test.dart
diff --git a/tests/language/generic_instanceof3_test.dart b/tests/language/generic_instanceof3_test.dart
index 293880f61e3ef4362bf84dfefd3d825848b022fc..28aa88214f133813597d3065b6c37c82efacb5ac 100644
--- a/tests/language/generic_instanceof3_test.dart
+++ b/tests/language/generic_instanceof3_test.dart
@@ -7,37 +7,19 @@ import "package:expect/expect.dart";
// Tests involving generics.
-abstract class I<T> {
-}
-
-
-class A implements I<bool> {
-}
-
-
-class B<T> implements I<bool> {
-}
+abstract class I<T> {}
+class A implements I<bool> {}
-abstract class K<T> {
+class B<T> implements I<bool> {}
-}
+abstract class K<T> {}
-abstract class L<T> extends K<bool> {
-
-}
-
-
-class C implements L<String> {
-
-}
-
-
-class D implements B<String> {
-
-}
+abstract class L<T> extends K<bool> {}
+class C implements L<String> {}
+class D implements B<String> {}
main() {
var a = new A();
@@ -58,4 +40,4 @@ main() {
Expect.isFalse(d is I<String>);
Expect.isTrue(d is I<bool>);
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698