Index: tests/isolate/message2_test.dart |
diff --git a/tests/isolate/message2_test.dart b/tests/isolate/message2_test.dart |
index 334ae0431194da2bdbbf5e0ff2cc5f299cc65c04..eaa5c95670f864d57c620545485509426ef68227 100644 |
--- a/tests/isolate/message2_test.dart |
+++ b/tests/isolate/message2_test.dart |
@@ -7,7 +7,8 @@ |
library Message2Test; |
import 'dart:isolate'; |
-import '../../pkg/unittest/lib/unittest.dart'; |
+import 'package:unittest/unittest.dart'; |
+import "remote_unittest_helper.dart"; |
// --------------------------------------------------------------------------- |
// Message passing test 2. |
@@ -55,7 +56,8 @@ void pingPong(replyPort) { |
replyPort.send(port.sendPort); |
} |
-main() { |
+void main([args, port]) { |
+ if (testRemote(main, port)) return; |
test("map is equal after it is sent back and forth", () { |
ReceivePort port = new ReceivePort(); |
Isolate.spawn(pingPong, port.sendPort); |