| Index: sdk/lib/_internal/pub/test/version_solver_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/version_solver_test.dart b/sdk/lib/_internal/pub/test/version_solver_test.dart
|
| index cdadb67f9f9776626b18fb3cf37ad76f42f61a8f..cee9a96a9a80e6638bb6c38f5c6a7fc170995386 100644
|
| --- a/sdk/lib/_internal/pub/test/version_solver_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/version_solver_test.dart
|
| @@ -1377,7 +1377,7 @@ class MockSource extends CachedSource {
|
| return new Future.value('${id.name}-${id.version}');
|
| }
|
|
|
| - Future<List<Version>> getVersions(String name, String description) {
|
| + Future<List<Pubspec>> getVersions(String name, String description) {
|
| return new Future.sync(() {
|
| // Make sure the solver doesn't request the same thing twice.
|
| if (_requestedVersions.contains(description)) {
|
| @@ -1392,7 +1392,8 @@ class MockSource extends CachedSource {
|
| '"$description".');
|
| }
|
|
|
| - return _packages[description].keys.toList();
|
| + return _packages[description].values
|
| + .map((package) => package.pubspec).toList();
|
| });
|
| }
|
|
|
|
|