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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.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: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
index 0a882bcfc3885107d5e9c50c29d9802ca01cb365..e3a8b66efb3aad462323ccc21e60e9fd6044d21e 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart
@@ -217,15 +217,15 @@ class CoreRuntimeTypesTest {
assertEquals(d.remove('c'), null);
assertEquals(d.remove('b'), 2);
- assertEquals(d.keys, ['a']);
- assertEquals(d.values, [1]);
+ assertEquals(d.keys.single, 'a');
+ assertEquals(d.values.single, 1);
d['c'] = 3;
d['f'] = 4;
assertEquals(d.keys.length, 3);
assertEquals(d.values.length, 3);
- assertEquals(d.keys, ['a', 'c', 'f']);
- assertEquals(d.values, [1, 3, 4]);
+ assertEquals(d.keys.toList(), ['a', 'c', 'f']);
+ assertEquals(d.values.toList(), [1, 3, 4]);
var count = 0;
d.forEach(function(key, value) {

Powered by Google App Engine
This is Rietveld 408576698