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"')); |
} |