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

Unified Diff: tests/language/type_variable_bounds2_test.dart

Issue 2774783002: Re-land "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
« no previous file with comments | « tests/language/type_promotion_parameter_test.dart ('k') | tests/language/type_variable_bounds3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_bounds2_test.dart
diff --git a/tests/language/type_variable_bounds2_test.dart b/tests/language/type_variable_bounds2_test.dart
index 5d452fb59f9bcbfa93619935d67b901961f6b00a..c3375d26d673bd3c25c9624252fa7b21325869b2 100644
--- a/tests/language/type_variable_bounds2_test.dart
+++ b/tests/language/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);
}
}
« no previous file with comments | « tests/language/type_promotion_parameter_test.dart ('k') | tests/language/type_variable_bounds3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698