Index: tests/corelib/set_test.dart |
diff --git a/tests/corelib/set_test.dart b/tests/corelib/set_test.dart |
index 2a9cd1bf8a3aee73d2ba27667c27369d6bb0e686..efe8cf17712e33eea1983e134b2259d376b1dcb6 100644 |
--- a/tests/corelib/set_test.dart |
+++ b/tests/corelib/set_test.dart |
@@ -51,7 +51,7 @@ class SetTest { |
return val * val; |
} |
- Set mapped = set.mappedBy(testMap).toSet(); |
+ Set mapped = set.map(testMap).toSet(); |
Expect.equals(10, mapped.length); |
Expect.equals(true, mapped.contains(0)); |