| Index: sdk/lib/_internal/pub/test/test_pub.dart
|
| diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart
|
| index b2b2541f4f6b3a0ed7a49f268b5a19a8130cdf45..ca1e667932e180180c2e187fa998436be402c4de 100644
|
| --- a/sdk/lib/_internal/pub/test/test_pub.dart
|
| +++ b/sdk/lib/_internal/pub/test/test_pub.dart
|
| @@ -934,7 +934,7 @@ Future<Pair<List<String>, List<String>>> schedulePackageValidation(
|
| return schedule(() {
|
| var cache = new SystemCache.withSources(p.join(sandboxDir, cachePath));
|
|
|
| - return syncFuture(() {
|
| + return new Future.sync(() {
|
| var validator = fn(new Entrypoint(p.join(sandboxDir, appPath), cache));
|
| return validator.validate().then((_) {
|
| return new Pair(validator.errors, validator.warnings);
|
|
|