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

Unified Diff: tests/html/utils.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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/html/localstorage_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/utils.dart
diff --git a/tests/html/utils.dart b/tests/html/utils.dart
index 8b2dc9887cccd74bcd4c99d70a5f02f602d33215..2c07fcf8b9c4b58ad0e7a2a6cd258cf0c7f29281 100644
--- a/tests/html/utils.dart
+++ b/tests/html/utils.dart
@@ -48,13 +48,13 @@ verifyGraph(expected, actual) {
if (expected is Map) {
Expect.isTrue(actual is Map, message(path, '$actual is Map'));
- for (var key in expected.getKeys()) {
+ for (var key in expected.keys) {
if (!actual.containsKey(key)) {
Expect.fail(message(path, 'missing key "$key"'));
}
walk('$path["$key"]', expected[key], actual[key]);
}
- for (var key in actual.getKeys()) {
+ for (var key in actual.keys) {
if (!expected.containsKey(key)) {
Expect.fail(message(path, 'extra key "$key"'));
}
« no previous file with comments | « tests/html/localstorage_test.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698