| Index: tests/corelib_strong/map_from_iterables_test.dart
|
| diff --git a/tests/corelib_strong/map_from_iterables_test.dart b/tests/corelib_strong/map_from_iterables_test.dart
|
| index ca1793c2c556f7bd976527906ab6bc841d11f069..73958c5f4b108bc3b62051c822d6e6272fc9209e 100644
|
| --- a/tests/corelib_strong/map_from_iterables_test.dart
|
| +++ b/tests/corelib_strong/map_from_iterables_test.dart
|
| @@ -39,11 +39,11 @@ void emptyMapTest() {
|
| }
|
|
|
| void fewerValuesIterableTest() {
|
| - Expect.throws(() => new Map.fromIterables([1,2], [0]));
|
| + Expect.throws(() => new Map.fromIterables([1, 2], [0]));
|
| }
|
|
|
| void fewerKeysIterableTest() {
|
| - Expect.throws(() => new Map.fromIterables([1], [0,2]));
|
| + Expect.throws(() => new Map.fromIterables([1], [0, 2]));
|
| }
|
|
|
| void equalElementsTest() {
|
| @@ -59,10 +59,9 @@ void equalElementsTest() {
|
| Expect.equals("three", map[2]);
|
| }
|
|
|
| -
|
| void genericTypeTest() {
|
| - var map = new Map<int, String>.fromIterables(
|
| - [1, 2, 3], ["one", "two", "three"]);
|
| + var map =
|
| + new Map<int, String>.fromIterables([1, 2, 3], ["one", "two", "three"]);
|
| Expect.isTrue(map is Map<int, String>);
|
|
|
| // Make sure it is not just Map<dynamic, dynamic>.
|
|
|