| Index: tests/isolate/src/MandelIsolateTest.dart
|
| diff --git a/tests/isolate/src/MandelIsolateTest.dart b/tests/isolate/src/MandelIsolateTest.dart
|
| index 2214af8d2f03341bcfa571f6ca4f43f66f0c053d..73f5ee5ba558284a6ae744429d2e36ae3ee9edeb 100644
|
| --- a/tests/isolate/src/MandelIsolateTest.dart
|
| +++ b/tests/isolate/src/MandelIsolateTest.dart
|
| @@ -11,7 +11,7 @@ final ISOLATES = 20;
|
|
|
| void test(TestExpectation expect) {
|
| final state = new MandelbrotState();
|
| - expect.completes(state._validated).then((result) {
|
| + expect.completes(state._validated.future).then((result) {
|
| Expect.isTrue(result);
|
| expect.succeeded();
|
| });
|
| @@ -26,7 +26,7 @@ class MandelbrotState {
|
| _lineProcessedBy = new List<LineProcessorClient>(N);
|
| _sent = 0;
|
| _missing = N;
|
| - _validated = new Promise<bool>();
|
| + _validated = new Completer<bool>();
|
| }
|
|
|
| void startClient(int id) {
|
| @@ -75,7 +75,7 @@ class MandelbrotState {
|
| List<LineProcessorClient> _lineProcessedBy;
|
| int _sent;
|
| int _missing;
|
| - Promise<bool> _validated;
|
| + Completer<bool> _validated;
|
| }
|
|
|
|
|
|
|