Index: tests/corelib/set_test.dart |
diff --git a/tests/corelib/set_test.dart b/tests/corelib/set_test.dart |
index ce0caf666e6838d6f68d4be43abb4a7f4ad5c952..5acb8a5f1a56ef68ab4b1facf70f73f296230384 100644 |
--- a/tests/corelib/set_test.dart |
+++ b/tests/corelib/set_test.dart |
@@ -47,7 +47,6 @@ void testMain(Set create()) { |
set.forEach(testForEach); |
Expect.equals(10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1, sum); |
- Expect.isTrue(set.isSubsetOf(set)); |
Expect.isTrue(set.containsAll(set)); |
// Test Set.map. |
@@ -98,7 +97,6 @@ void testMain(Set create()) { |
Expect.equals(1 + 3 + 5 + 7 + 9, sum); |
Expect.isTrue(set.containsAll(filtered)); |
- Expect.isTrue(filtered.isSubsetOf(set)); |
// Test Set.every. |
testEvery(int val) { |
@@ -138,8 +136,6 @@ void testMain(Set create()) { |
Expect.isTrue(set.containsAll(intersection)); |
Expect.isTrue(filtered.containsAll(intersection)); |
- Expect.isTrue(intersection.isSubsetOf(set)); |
- Expect.isTrue(intersection.isSubsetOf(filtered)); |
// Test Set.union. |
Set twice = create()..addAll([0, 2, 4, 6, 8, 10, 12, 14]); |
@@ -159,7 +155,7 @@ void testMain(Set create()) { |
Expect.isTrue(twice.difference(thrice).difference(twice).isEmpty); |
// Test Set.addAll. |
- List list = new List.fixedLength(10); |
+ List list = new List(10); |
for (int i = 0; i < 10; i++) { |
list[i] = i + 10; |
} |