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

Unified Diff: tests/corelib/linked_hash_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/linked_hash_map_from_iterable_test.dart
diff --git a/tests/corelib/linked_hash_map_from_iterable_test.dart b/tests/corelib/linked_hash_map_from_iterable_test.dart
index a8de693c1525c28d1b507dda745900a5f7ff9b54..4b7f6b9f24d26169afb4df1da34f476269c9fdcf 100644
--- a/tests/corelib/linked_hash_map_from_iterable_test.dart
+++ b/tests/corelib/linked_hash_map_from_iterable_test.dart
@@ -101,13 +101,13 @@ void equalElementsTest() {
}
void genericTypeTest() {
- var map = new LinkedHashMap<int, String>.fromIterable(
- <int>[1, 2, 3], value: (x) => '$x');
+ var map = new LinkedHashMap<int, String>.fromIterable(<int>[1, 2, 3],
+ value: (x) => '$x');
Expect.isTrue(map is Map<int, String>);
Expect.isTrue(map is LinkedHashMap<int, String>);
- map = new LinkedHashMap<String, String>.fromIterable(
- <int>[1, 2, 3], key: (x) => '$x', value: (x) => '$x');
+ map = new LinkedHashMap<String, String>.fromIterable(<int>[1, 2, 3],
+ key: (x) => '$x', value: (x) => '$x');
Expect.isTrue(map is Map<String, String>);
Expect.isTrue(map is LinkedHashMap<String, String>);

Powered by Google App Engine
This is Rietveld 408576698