Index: tests/isolate/src/IsolateComplexMessagesTest.dart |
diff --git a/tests/isolate/src/IsolateComplexMessagesTest.dart b/tests/isolate/src/IsolateComplexMessagesTest.dart |
index 6b9cfc73d19958b1fe8818b126945ade67829d62..135f7c6836af37cc840a72c5cd159f3a1517389c 100644 |
--- a/tests/isolate/src/IsolateComplexMessagesTest.dart |
+++ b/tests/isolate/src/IsolateComplexMessagesTest.dart |
@@ -20,7 +20,7 @@ void test(TestExpectation expect) { |
remote.send(const [1, 2.0, true, false, 0xffffffffff], null); |
remote.send(const ["Hello", "World", 0xffffffffff], null); |
// Shutdown the LogRunner. |
- remote.call(-1).receive(expect.runs2((int message, SendPort replyTo) { |
+ remote.call(-1).then(expect.runs1((int message) { |
Expect.equals(6, message); |
expect.succeeded(); |
})); |