Index: tests/isolate/isolate_import_test.dart |
diff --git a/tests/isolate/isolate_import_negative_test.dart b/tests/isolate/isolate_import_test.dart |
similarity index 73% |
rename from tests/isolate/isolate_import_negative_test.dart |
rename to tests/isolate/isolate_import_test.dart |
index 1ea91022d8bb00d43e89470c90c5255cc36437b7..5fa0f326c1239fbfa5035c88fdf3b79e72dd2cb9 100644 |
--- a/tests/isolate/isolate_import_negative_test.dart |
+++ b/tests/isolate/isolate_import_test.dart |
@@ -4,11 +4,13 @@ |
library IsolateImportNegativeTest; |
// Omitting the following import is an error: |
-// import 'dart:isolate'; |
+/* /// 01: runtime error, static type warning |
+import 'dart:isolate'; |
+*/ /// 01: continued |
void entry(msg) {} |
main() { |
- Isolate.spawn(entry); |
+ Isolate.spawn(entry, null); |
} |