Index: tests/isolate/src/Mixed2Test.dart |
diff --git a/tests/isolate/src/Mixed2Test.dart b/tests/isolate/src/Mixed2Test.dart |
index fcd1b5044229bc46d1df38177dadbf717b9351db..be4871afb717e61aacb72b31cc778a56c27516d0 100644 |
--- a/tests/isolate/src/Mixed2Test.dart |
+++ b/tests/isolate/src/Mixed2Test.dart |
@@ -114,13 +114,13 @@ void test(TestExpectation expect) { |
heavy2.then(expect.runs1((SendPort heavy2Port) { |
heavy3.then(expect.runs1((SendPort heavy3Port) { |
- heavy2Port.call(heavy3Port).receive(expect.runs2((h2l1Port, ignored) { |
+ heavy2Port.call(heavy3Port).then(expect.runs1((h2l1Port) { |
heavy1.then(expect.runs1((SendPort heavy1Port) { |
heavy1Port.send(h2l1Port, null); |
// --------------- |
// Setup complete. |
// Start the chain-message. |
- heavy1Port.call(1).receive(expect.runs2((result, ignored) { |
+ heavy1Port.call(1).then(expect.runs1((result) { |
Expect.equals(6531, result); |
expect.succeeded(); |
})); |