Index: tests/language/src/TypedMessageTest.dart |
diff --git a/tests/language/src/TypedMessageTest.dart b/tests/language/src/TypedMessageTest.dart |
index 6f52a412f6adf317979efa7189eecf58a92c23b4..28fa1888df86612501b61536b094ca9a90c145b6 100644 |
--- a/tests/language/src/TypedMessageTest.dart |
+++ b/tests/language/src/TypedMessageTest.dart |
@@ -23,7 +23,7 @@ class LogClient { |
for (int i = 0; i < 5; i++) { |
msg[i] = i; |
} |
- remote.call(msg).receive((int message, SendPort replyTo) { |
+ remote.call(msg).then((int message) { |
Expect.equals(1, message); |
}); |
}); |