Chromium Code Reviews

Unified Diff: tests/isolate/spawn_uri_nested_vm_test.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.
Jump to:
View side-by-side diff with in-line comments
Index: tests/isolate/spawn_uri_nested_vm_test.dart
diff --git a/tests/isolate/spawn_uri_nested_vm_test.dart b/tests/isolate/spawn_uri_nested_vm_test.dart
index e48483edd3ab3f698a1b77a682b5d25ed96a7c10..7e4ac9e332ed950e4daa9ca24a2c6f5424143bb2 100644
--- a/tests/isolate/spawn_uri_nested_vm_test.dart
+++ b/tests/isolate/spawn_uri_nested_vm_test.dart
@@ -13,7 +13,8 @@ import '../../pkg/unittest/lib/unittest.dart';
main() {
test('isolate fromUri - nested send and reply', () {
var port = spawnUri('spawn_uri_nested_child1_vm_isolate.dart');
-
- port.call([1, 2]).then((result) => print(result));
+ ReceivePort replyPort = new ReceivePort();
+ port.send([[1, 2], replyPort.sendPort]);
+ replyPort.first.then((result) => print(result));
});
}

Powered by Google App Engine