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

Unified Diff: tests/corelib/maps_test.dart

Issue 12016014: Undo bad change in Maps class. Fix test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « sdk/lib/collection/maps.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/maps_test.dart
diff --git a/tests/corelib/maps_test.dart b/tests/corelib/maps_test.dart
index dd521e6b86f178aae8c025b96afce94c6622c0df..6d5193987b9d4919302e2b37e2a456b13c16cda1 100644
--- a/tests/corelib/maps_test.dart
+++ b/tests/corelib/maps_test.dart
@@ -110,7 +110,7 @@ main() {
void testForEachCollection(value) {
other_map[value] = value;
}
- Collection values = Maps.getValues(map);
+ Iterable values = Maps.getValues(map);
other_map = new Map();
values.forEach(testForEachCollection);
Expect.equals(true, !other_map.containsKey(key1));
« no previous file with comments | « sdk/lib/collection/maps.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698