Index: tests/isolate/browser/compute_this_script_browser_test.dart |
diff --git a/tests/isolate/browser/compute_this_script_browser_test.dart b/tests/isolate/browser/compute_this_script_browser_test.dart |
index 2b71451aeefbc1139acf582dfc392672b62e1819..63a886d35db64b4230968a3e9f956c91c3efd2e6 100644 |
--- a/tests/isolate/browser/compute_this_script_browser_test.dart |
+++ b/tests/isolate/browser/compute_this_script_browser_test.dart |
@@ -11,6 +11,7 @@ import 'dart:html'; |
import 'dart:isolate'; |
import 'package:unittest/unittest.dart'; |
import 'package:unittest/html_config.dart'; |
+import "../remote_unittest_helper.dart"; |
child(var message) { |
var data = message[0]; |
@@ -18,7 +19,8 @@ child(var message) { |
reply.send('re: $data'); |
} |
-main() { |
+void main([args, port]) { |
+ if (testRemote(main, port)) return; |
useHtmlConfiguration(); |
var script = new ScriptElement(); |
document.body.append(script); |