Index: tests/isolate/isolate_import_negative_test.dart |
diff --git a/tests/isolate/isolate_import_negative_test.dart b/tests/isolate/isolate_import_negative_test.dart |
index 0f5a0421abd54c70e5685e2a62a4292ee43f49be..1ea91022d8bb00d43e89470c90c5255cc36437b7 100644 |
--- a/tests/isolate/isolate_import_negative_test.dart |
+++ b/tests/isolate/isolate_import_negative_test.dart |
@@ -6,9 +6,9 @@ library IsolateImportNegativeTest; |
// Omitting the following import is an error: |
// import 'dart:isolate'; |
-void entry() {} |
+void entry(msg) {} |
main() { |
- spawnFunction(entry); |
+ Isolate.spawn(entry); |
} |