Index: tests/isolate/isolate_import_test.dart |
diff --git a/tests/isolate/isolate_import_test.dart b/tests/isolate/isolate_import_test.dart |
index 5fa0f326c1239fbfa5035c88fdf3b79e72dd2cb9..8d9f6a15fce180ef354b43a754b6ef6e0b4239e7 100644 |
--- a/tests/isolate/isolate_import_test.dart |
+++ b/tests/isolate/isolate_import_test.dart |
@@ -7,10 +7,11 @@ library IsolateImportNegativeTest; |
/* /// 01: runtime error, static type warning |
import 'dart:isolate'; |
*/ /// 01: continued |
+import 'package:async_helper/async_helper.dart'; |
void entry(msg) {} |
main() { |
- Isolate.spawn(entry, null); |
+ asyncStart(); |
+ Isolate.spawn(entry, null).whenComplete(asyncEnd); |
} |
- |