| Index: tests/isolate/cross_isolate_message_test.dart
|
| diff --git a/tests/isolate/cross_isolate_message_test.dart b/tests/isolate/cross_isolate_message_test.dart
|
| index 00874d09e97a4f6e232bdb7dd641ac8f056ed77a..56181c82d86acd0cd31ece073e70e0b109d2c130 100644
|
| --- a/tests/isolate/cross_isolate_message_test.dart
|
| +++ b/tests/isolate/cross_isolate_message_test.dart
|
| @@ -7,7 +7,8 @@
|
|
|
| library CrossIsolateMessageTest;
|
| import 'dart:isolate';
|
| -import '../../pkg/unittest/lib/unittest.dart';
|
| +import 'package:unittest/unittest.dart';
|
| +import "remote_unittest_helper.dart";
|
|
|
| /*
|
| * Everything starts in the main-isolate (in the main-method).
|
| @@ -34,7 +35,8 @@ void crossIsolate2(SendPort toIsolate1) {
|
| toIsolate1.send(["fromIsolate2", 42]);
|
| }
|
|
|
| -main() {
|
| +void main([args, port]) {
|
| + if (testRemote(main, port)) return;
|
| test("send message cross isolates ", () {
|
| ReceivePort fromIsolate1 = new ReceivePort();
|
| Isolate.spawn(crossIsolate1, fromIsolate1.sendPort);
|
|
|