Index: tests/utils/dummy_compiler_test.dart |
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart |
index ad2750e65099f55ab851d1f74231f0b856aa618a..4c0a4aa9d1d8c268d9a48098f250ae5c8dcbb49c 100644 |
--- a/tests/utils/dummy_compiler_test.dart |
+++ b/tests/utils/dummy_compiler_test.dart |
@@ -116,5 +116,5 @@ main() { |
} |
}, onError: (e) { |
throw 'Compilation failed'; |
- }).whenComplete(() => asyncEnd()); |
+ }).then(asyncSuccess); |
} |