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

Unified Diff: pkg/unittest/core_matchers.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 | « pkg/intl/test/number_format_test.dart ('k') | pkg/unittest/html_enhanced_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/core_matchers.dart
diff --git a/pkg/unittest/core_matchers.dart b/pkg/unittest/core_matchers.dart
index e71e49176baa4e0a938b7c04fcabcd1f19e87705..add80a5f18ef0fd283b7ba6148b1dff8739b91c4 100644
--- a/pkg/unittest/core_matchers.dart
+++ b/pkg/unittest/core_matchers.dart
@@ -141,7 +141,7 @@ class _DeepMatcher extends BaseMatcher {
} else if (expected.length != actual.length) {
reason = new StringDescription('different map lengths');
} else {
- for (var key in expected.getKeys()) {
+ for (var key in expected.keys) {
if (!actual.containsKey(key)) {
reason = new StringDescription('missing map key ');
reason.addDescriptionOf(key);
« no previous file with comments | « pkg/intl/test/number_format_test.dart ('k') | pkg/unittest/html_enhanced_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698