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

Unified Diff: tests/corelib_strong/maps_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_strong/maps_test.dart
diff --git a/tests/corelib_strong/maps_test.dart b/tests/corelib_strong/maps_test.dart
index 91849a8c9d42fddfe310ea540c957aac408227a2..9183c236bdcda918f38af34ec345ec25acc0af6a 100644
--- a/tests/corelib_strong/maps_test.dart
+++ b/tests/corelib_strong/maps_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
library maps_test;
+
import "package:expect/expect.dart";
import 'dart:collection';
@@ -100,6 +101,7 @@ main() {
void testForEachMap(key, value) {
other_map[key] = value;
}
+
Maps.forEach(map, testForEachMap);
Expect.equals(true, other_map.containsKey(key1));
Expect.equals(true, other_map.containsKey(key2));
@@ -111,6 +113,7 @@ main() {
void testForEachCollection(value) {
other_map[value] = value;
}
+
Iterable values = Maps.getValues(map);
other_map = new Map();
values.forEach(testForEachCollection);

Powered by Google App Engine
This is Rietveld 408576698