Index: tests/isolate/pause_test.dart |
diff --git a/tests/isolate/pause_test.dart b/tests/isolate/pause_test.dart |
index 71691adfc8ca4257d6823afaee05e60541fdafec..22a4fce60189d80306ea757fba3549f6e143488e 100644 |
--- a/tests/isolate/pause_test.dart |
+++ b/tests/isolate/pause_test.dart |
@@ -24,10 +24,10 @@ main(){ |
reply.handler = completer.complete; |
Isolate.spawn(isomain1, reply.sendPort).then((Isolate iso) { |
isolate = iso; |
- resume = isolate.pause(); |
return completer.future; |
}).then((echoPort) { |
// Isolate has been created, and first response has been returned. |
+ resume = isolate.pause(); |
echoPort.send(24); |
reply.handler = (v) { |
throw "RESPONSE WHILE PAUSED?!?"; |