| Index: tests/corelib_strong/map_from_iterable_test.dart
|
| diff --git a/tests/corelib_strong/map_from_iterable_test.dart b/tests/corelib_strong/map_from_iterable_test.dart
|
| index ed86cde8eb1b7ce8fd9480bab739c8e6a496ff26..b4e7571ec5dc4bcccfab02dec6682fbe3ba7fd9f 100644
|
| --- a/tests/corelib_strong/map_from_iterable_test.dart
|
| +++ b/tests/corelib_strong/map_from_iterable_test.dart
|
| @@ -101,12 +101,11 @@ void equalElementsTest() {
|
| }
|
|
|
| void genericTypeTest() {
|
| - var map = new HashMap<String, String>.fromIterable(
|
| - <int>[1, 2, 3], key: (x) => '$x', value: (x) => '$x');
|
| + var map = new HashMap<String, String>.fromIterable(<int>[1, 2, 3],
|
| + key: (x) => '$x', value: (x) => '$x');
|
| Expect.isTrue(map is Map<String, String>);
|
|
|
| // Make sure it is not just Map<dynamic, dynamic>.
|
| Expect.isFalse(map is Map<int, dynamic>);
|
| Expect.isFalse(map is Map<dynamic, int>);
|
| }
|
| -
|
|
|