Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: tests/isolate/isolate_import_test.dart

Issue 1481693002: Fix a couple more tests related to Isolate.spawn semantics change (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/co19/co19-dartium.status ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
-
« no previous file with comments | « tests/co19/co19-dartium.status ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698