Index: tests/isolate/src/Message2Test.dart |
diff --git a/tests/isolate/src/Message2Test.dart b/tests/isolate/src/Message2Test.dart |
index d226e2a739a12e9b18120042b42d81b251f697a5..3d6767412bc2556ab383dfc5dfa9a45e56f3bb8a 100644 |
--- a/tests/isolate/src/Message2Test.dart |
+++ b/tests/isolate/src/Message2Test.dart |
@@ -64,7 +64,7 @@ void test(TestExpectation expect) { |
m[2] = "deux"; |
m[3] = "tre"; |
m[4] = "four"; |
- remote.call(m).receive(expect.runs2((var received, SendPort replyTo) { |
+ remote.call(m).then(expect.runs1((var received) { |
MessageTest.mapEqualsDeep(m, received); |
remote.send(-1, null); |
expect.succeeded(); |