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

Unified Diff: tests/language/compile_time_constant_b_test.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/language/compile_time_constant_a_test.dart ('k') | tests/language/ct_const_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant_b_test.dart
diff --git a/tests/language/compile_time_constant_b_test.dart b/tests/language/compile_time_constant_b_test.dart
index 7dce3cf8fd0a5f7b564c51cd2c8fa28b906b190a..a2739032cf69116845f9f355915511614f5f05a4 100644
--- a/tests/language/compile_time_constant_b_test.dart
+++ b/tests/language/compile_time_constant_b_test.dart
@@ -11,8 +11,8 @@ bool isUnsupportedError(o) => o is UnsupportedError;
main() {
Expect.equals(499, m1['__proto__']);
Expect.equals(null, m1['b']);
- Expect.listEquals(['__proto__'], m1.getKeys());
- Expect.listEquals([499], m1.getValues());
+ Expect.listEquals(['__proto__'], m1.keys);
+ Expect.listEquals([499], m1.values);
Expect.isTrue(m1.containsKey('__proto__'));
Expect.isFalse(m1.containsKey('toString'));
Expect.isTrue(m1.containsValue(499));
@@ -40,8 +40,8 @@ main() {
Expect.equals(42, m2['b']);
Expect.equals(null, m2['c']);
Expect.equals(null, m2['__proto__']);
- Expect.listEquals(['a', 'b'], m2.getKeys());
- Expect.listEquals([499, 42], m2.getValues());
+ Expect.listEquals(['a', 'b'], m2.keys);
+ Expect.listEquals([499, 42], m2.values);
Expect.isTrue(m2.containsKey('a'));
Expect.isTrue(m2.containsKey('b'));
Expect.isFalse(m2.containsKey('toString'));
« no previous file with comments | « tests/language/compile_time_constant_a_test.dart ('k') | tests/language/ct_const_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698