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

Unified Diff: tests/isolate/spawn_uri_child_isolate.dart

Issue 36933002: All isolate tests running on vm (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: tests/isolate/spawn_uri_child_isolate.dart
diff --git a/tests/isolate/spawn_uri_child_isolate.dart b/tests/isolate/spawn_uri_child_isolate.dart
index 9e5fc93bffca7f7d74621a844b281edb74d07dc8..ee9404318727910b6a3143a1a89996b7e8ff60ed 100644
--- a/tests/isolate/spawn_uri_child_isolate.dart
+++ b/tests/isolate/spawn_uri_child_isolate.dart
@@ -7,5 +7,5 @@ library SpawnUriChildIsolate;
import 'dart:isolate';
void main() {
- port.receive((msg, reply) => reply.send('re: $msg'));
+ port.listen((msg) => msg[1].send('re: ${msg[0]}'));
}

Powered by Google App Engine
This is Rietveld 408576698