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

Unified Diff: tests/corelib/linked_hash_map_from_iterables_test.dart

Issue 22859069: Reapply "Make Map constructors return LinkedHashMap." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make map_values2_test know the order. Created 7 years, 4 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/corelib/linked_hash_map_from_iterable_test.dart ('k') | tests/corelib/map_from_iterable_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/linked_hash_map_from_iterables_test.dart
diff --git a/tests/corelib/linked_hash_map_from_iterables_test.dart b/tests/corelib/linked_hash_map_from_iterables_test.dart
index 0212dd4b4ef7f7041d5f00a44928eb961472f528..37a55344fa86484c4ea8e77466d47924b71ca850 100644
--- a/tests/corelib/linked_hash_map_from_iterables_test.dart
+++ b/tests/corelib/linked_hash_map_from_iterables_test.dart
@@ -18,7 +18,6 @@ void positiveTest() {
var map = new LinkedHashMap.fromIterables([1, 2, 3], ["one", "two", "three"]);
Expect.isTrue(map is Map);
Expect.isTrue(map is LinkedHashMap);
- Expect.isFalse(map is HashMap);
Expect.equals(3, map.length);
Expect.equals(3, map.keys.length);
@@ -33,7 +32,6 @@ void emptyMapTest() {
var map = new LinkedHashMap.fromIterables([], []);
Expect.isTrue(map is Map);
Expect.isTrue(map is LinkedHashMap);
- Expect.isFalse(map is HashMap);
Expect.equals(0, map.length);
Expect.equals(0, map.keys.length);
@@ -52,7 +50,6 @@ void equalElementsTest() {
var map = new LinkedHashMap.fromIterables([1, 2, 2], ["one", "two", "three"]);
Expect.isTrue(map is Map);
Expect.isTrue(map is LinkedHashMap);
- Expect.isFalse(map is HashMap);
Expect.equals(2, map.length);
Expect.equals(2, map.keys.length);
« no previous file with comments | « tests/corelib/linked_hash_map_from_iterable_test.dart ('k') | tests/corelib/map_from_iterable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698