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

Unified Diff: tests/language/compile_time_constant_b_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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 a2739032cf69116845f9f355915511614f5f05a4..49e48f9a92e4dd8e650cdbb28683faad35e3bc30 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.keys);
- Expect.listEquals([499], m1.values);
+ Expect.listEquals(['__proto__'], m1.keys.toList());
+ Expect.listEquals([499], m1.values.toList());
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.keys);
- Expect.listEquals([499, 42], m2.values);
+ Expect.listEquals(['a', 'b'], m2.keys.toList());
+ Expect.listEquals([499, 42], m2.values.toList());
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/compound_assignment_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698