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

Unified Diff: tests/corelib/linked_hash_map_from_iterable_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 | « sdk/lib/core/map.dart ('k') | tests/corelib/linked_hash_map_from_iterables_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_iterable_test.dart
diff --git a/tests/corelib/linked_hash_map_from_iterable_test.dart b/tests/corelib/linked_hash_map_from_iterable_test.dart
index d581532612911d3d1c289fc50704855dcb2adb16..02c9029c773b7e6500ffaf4eb47f8d57f4a16ca4 100644
--- a/tests/corelib/linked_hash_map_from_iterable_test.dart
+++ b/tests/corelib/linked_hash_map_from_iterable_test.dart
@@ -20,7 +20,6 @@ void defaultFunctionValuesTest() {
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);
@@ -36,7 +35,6 @@ void defaultKeyFunctionTest() {
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);
@@ -52,7 +50,6 @@ void defaultValueFunctionTest() {
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);
@@ -69,7 +66,6 @@ void noDefaultValuesTest() {
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);
@@ -84,7 +80,6 @@ void emptyIterableTest() {
var map = new LinkedHashMap.fromIterable([]);
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);
@@ -96,7 +91,6 @@ void equalElementsTest() {
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 | « sdk/lib/core/map.dart ('k') | tests/corelib/linked_hash_map_from_iterables_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698