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

Unified Diff: tests/language_strong/type_variable_bounds2_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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/type_variable_bounds2_test.dart
diff --git a/tests/language_strong/type_variable_bounds2_test.dart b/tests/language_strong/type_variable_bounds2_test.dart
index 5d452fb59f9bcbfa93619935d67b901961f6b00a..c3375d26d673bd3c25c9624252fa7b21325869b2 100644
--- a/tests/language_strong/type_variable_bounds2_test.dart
+++ b/tests/language_strong/type_variable_bounds2_test.dart
@@ -6,11 +6,12 @@ import "package:expect/expect.dart";
// Test of parameterized types with invalid bounds.
-abstract class J<T> { }
+abstract class J<T> {}
-abstract class K<T> { }
+abstract class K<T> {}
-abstract class I<T
+abstract class I<
+ T
extends num //# 00: continued
extends num //# 01: continued
extends num //# 02: continued
@@ -18,10 +19,9 @@ abstract class I<T
extends num //# 04: continued
extends num //# 05: continued
extends num //# 06: continued
-> { }
+ > {}
-class A<T> implements I<T>, J<T> {
-}
+class A<T> implements I<T>, J<T> {}
main() {
var a = new A<String>();
@@ -58,6 +58,6 @@ main() {
Expect.isTrue(a is J);
// In both production and checked modes, A<int> is not a subtype of K.
- Expect.isTrue(a is !K);
+ Expect.isTrue(a is! K);
}
}

Powered by Google App Engine
This is Rietveld 408576698