Index: tests/corelib/queue_test.dart |
diff --git a/tests/corelib/queue_test.dart b/tests/corelib/queue_test.dart |
index 11f6e3c018f20ee048a1d86f9f20f6c403d2c232..bc0e3813caa7355053a872d297ae8be6d10ebfb8 100644 |
--- a/tests/corelib/queue_test.dart |
+++ b/tests/corelib/queue_test.dart |
@@ -43,7 +43,7 @@ class QueueTest { |
return (value == 10); |
} |
- Queue mapped = new Queue.from(queue.mappedBy(mapTest)); |
+ Queue mapped = new Queue.from(queue.map(mapTest)); |
checkQueue(mapped, 3, 111); |
checkQueue(queue, 3, 1110); |
Expect.equals(1, mapped.removeFirst()); |