Index: tests/language/issue23244_test.dart |
diff --git a/tests/language/issue23244_test.dart b/tests/language/issue23244_test.dart |
index b15576995c17c5b26fa80fa98ba1e59fcdef9f83..f8a3f325961acbd653ee9139d1f850c261589f50 100644 |
--- a/tests/language/issue23244_test.dart |
+++ b/tests/language/issue23244_test.dart |
@@ -5,6 +5,7 @@ |
// Regression test case for http://dartbug.com/23244 |
import 'dart:async'; |
import 'dart:isolate'; |
+import 'package:async_helper/async_helper.dart'; |
enum Fisk { |
torsk, |
@@ -27,6 +28,7 @@ isolate3(SendPort port) { |
main() async { |
var port = new ReceivePort(); |
+ asyncStart(); |
await Isolate.spawn(isolate1, port.sendPort); |
Completer completer1 = new Completer(); |
port.listen((message) { |
@@ -53,6 +55,7 @@ main() async { |
port.close(); |
expectTorsk(message[0]); |
expectTorsk(message[1]); |
+ asyncEnd(); |
}); |
} |
@@ -61,4 +64,3 @@ expectTorsk(Fisk fisk) { |
throw "$fisk isn't a ${Fisk.torsk}"; |
} |
} |
- |