| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 48b29b6ad7b039a7987500a13994514cd3fa9fb8..4512160e4afd1d1f92ad094d6f6278d02046189b 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -579,7 +579,7 @@ Future<Pair<List<String>, List<String>>> schedulePackageValidation(
|
| return schedule(() {
|
| var cache = new SystemCache.withSources(path.join(sandboxDir, cachePath));
|
|
|
| - return defer(() {
|
| + return new Future.of(() {
|
| var validator = fn(new Entrypoint(path.join(sandboxDir, appPath), cache));
|
| return validator.validate().then((_) {
|
| return new Pair(validator.errors, validator.warnings);
|
|
|