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

Unified Diff: tests/standalone/io/url_encoding_test.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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 | « tests/language/ordered_maps_test.dart ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/url_encoding_test.dart
diff --git a/tests/standalone/io/url_encoding_test.dart b/tests/standalone/io/url_encoding_test.dart
index 4c8cea20eb71dc35917d5e0353f11ecc10407740..d24f931255a62f73bfa7feea862771fb6558a0ad 100644
--- a/tests/standalone/io/url_encoding_test.dart
+++ b/tests/standalone/io/url_encoding_test.dart
@@ -33,7 +33,7 @@ void testParseQueryString() {
'sqrt2' : '\u221A2',
'name' : 'Franti\u0161ek'}[key]);
}
- Expect.setEquals(map.keys, ['&', '?', 'foo', 'sqrt2', 'name']);
+ Expect.setEquals(map.keys.toSet(), ['&', '?', 'foo', 'sqrt2', 'name']);
}
void main() {
« no previous file with comments | « tests/language/ordered_maps_test.dart ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698