Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1368)

Unified Diff: tests/language/src/TypedMessageTest.dart

Issue 9652001: SendPort + ReceivePort changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/isolate/src/TestFramework.dart ('k') | tests/standalone/src/io/DirectoryTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
});
});
« no previous file with comments | « tests/isolate/src/TestFramework.dart ('k') | tests/standalone/src/io/DirectoryTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698