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

Unified Diff: tests/corelib/map_from_iterable_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/corelib/map_from_iterable_test.dart
diff --git a/tests/corelib/map_from_iterable_test.dart b/tests/corelib/map_from_iterable_test.dart
index ed86cde8eb1b7ce8fd9480bab739c8e6a496ff26..b4e7571ec5dc4bcccfab02dec6682fbe3ba7fd9f 100644
--- a/tests/corelib/map_from_iterable_test.dart
+++ b/tests/corelib/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>);
}
-

Powered by Google App Engine
This is Rietveld 408576698