| Index: utils/tests/pub/install/hosted/install_transitive_test.dart
|
| diff --git a/utils/tests/pub/install/hosted/install_transitive_test.dart b/utils/tests/pub/install/hosted/install_transitive_test.dart
|
| index 23e4bd69496a873bc3ac621f585cedc104bb577b..b111d79d15f850888c03af12caf317a9d180d345 100644
|
| --- a/utils/tests/pub/install/hosted/install_transitive_test.dart
|
| +++ b/utils/tests/pub/install/hosted/install_transitive_test.dart
|
| @@ -6,24 +6,23 @@ library pub_tests;
|
|
|
| import 'dart:io';
|
|
|
| -import '../../descriptor.dart' as d;
|
| import '../../test_pub.dart';
|
|
|
| main() {
|
| integration('installs packages transitively from a pub server', () {
|
| servePackages([
|
| - packageMap("foo", "1.2.3", [dependencyMap("bar", "2.0.4")]),
|
| - packageMap("bar", "2.0.3"),
|
| - packageMap("bar", "2.0.4"),
|
| - packageMap("bar", "2.0.5")
|
| + package("foo", "1.2.3", [dependency("bar", "2.0.4")]),
|
| + package("bar", "2.0.3"),
|
| + package("bar", "2.0.4"),
|
| + package("bar", "2.0.5")
|
| ]);
|
|
|
| - d.appDir([dependencyMap("foo", "1.2.3")]).create();
|
| + appDir([dependency("foo", "1.2.3")]).scheduleCreate();
|
|
|
| schedulePub(args: ['install'],
|
| output: new RegExp("Dependencies installed!\$"));
|
|
|
| - d.cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
|
| - d.packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).validate();
|
| + cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
|
| + packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate();
|
| });
|
| }
|
|
|