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

Unified Diff: tests/corelib/map_from_iterables_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_iterables_test.dart
diff --git a/tests/corelib/map_from_iterables_test.dart b/tests/corelib/map_from_iterables_test.dart
index ca1793c2c556f7bd976527906ab6bc841d11f069..73958c5f4b108bc3b62051c822d6e6272fc9209e 100644
--- a/tests/corelib/map_from_iterables_test.dart
+++ b/tests/corelib/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>.

Powered by Google App Engine
This is Rietveld 408576698