Chromium Code Reviews| Index: tests/utils/recursive_import_test.dart |
| diff --git a/tests/utils/recursive_import_test.dart b/tests/utils/recursive_import_test.dart |
| index d4d639463edc572059af69bdab99342dc136cf5b..9d288aa310ae41952ddbf4fe54aad3751da2edd3 100644 |
| --- a/tests/utils/recursive_import_test.dart |
| +++ b/tests/utils/recursive_import_test.dart |
| @@ -128,5 +128,5 @@ main() { |
| Expect.equals(1, errorCount); |
| }, onError: (e) { |
| throw 'Compilation failed'; |
| - }).whenComplete(() => asyncEnd()); |
| + }).then(asyncSuccess); |
| } |