Index: tests/language_strong/generics_test.dart |
diff --git a/tests/language_strong/generics_test.dart b/tests/language_strong/generics_test.dart |
index dc240bd665729e328dfc133e21a19255a0906f1f..931083be0a1bccad278acf750039ccebb217db14 100644 |
--- a/tests/language_strong/generics_test.dart |
+++ b/tests/language_strong/generics_test.dart |
@@ -5,7 +5,7 @@ |
import "package:expect/expect.dart"; |
-class GenericsTest<T,V> implements Map<int, int> { |
+class GenericsTest<T, V> implements Map<int, int> { |
static int myFunc(bool a, bool b) { |
Expect.equals(true, a); |
Expect.equals(false, b); |
@@ -17,8 +17,8 @@ class GenericsTest<T,V> implements Map<int, int> { |
int b = 2; |
int c = 3; |
int d = 4; |
- Expect.equals(true, a<b); |
- Expect.equals(42, myFunc(a<b, c> d)); |
+ Expect.equals(true, a < b); |
+ Expect.equals(42, myFunc(a < b, c > d)); |
Map<int, int> e; |
GenericsTest<int, GenericsTest<int, int>> f; |
@@ -37,22 +37,14 @@ class GenericsTest<T,V> implements Map<int, int> { |
} |
} |
-class LongGeneric<A, B, C> { |
-} |
+class LongGeneric<A, B, C> {} |
class LongerGeneric<A, B, C, D, E, F, G, H, I, J> { |
void func() { |
- LongGeneric<String, |
- A, |
- LongGeneric<C, List<E>, Map<G, Map<I, J>>>> id; |
- |
- LongGeneric< |
- num, |
- Map<int, int>, |
- LongGeneric< |
- C, |
- List<E>, |
- Map<G, LongGeneric<I, J, List<A>>>>> id2; |
+ LongGeneric<String, A, LongGeneric<C, List<E>, Map<G, Map<I, J>>>> id; |
+ |
+ LongGeneric<num, Map<int, int>, |
+ LongGeneric<C, List<E>, Map<G, LongGeneric<I, J, List<A>>>>> id2; |
} |
} |