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

Unified Diff: tests/isolate/src/Message2Test.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/MandelIsolateTest.dart ('k') | tests/isolate/src/MessageTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « tests/isolate/src/MandelIsolateTest.dart ('k') | tests/isolate/src/MessageTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698