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 b111d79d15f850888c03af12caf317a9d180d345..23e4bd69496a873bc3ac621f585cedc104bb577b 100644 |
--- a/utils/tests/pub/install/hosted/install_transitive_test.dart |
+++ b/utils/tests/pub/install/hosted/install_transitive_test.dart |
@@ -6,23 +6,24 @@ 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([ |
- 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") |
+ 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") |
]); |
- appDir([dependency("foo", "1.2.3")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo", "1.2.3")]).create(); |
schedulePub(args: ['install'], |
output: new RegExp("Dependencies installed!\$")); |
- cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate(); |
- packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).scheduleValidate(); |
+ d.cacheDir({"foo": "1.2.3", "bar": "2.0.4"}).validate(); |
+ d.packagesDir({"foo": "1.2.3", "bar": "2.0.4"}).validate(); |
}); |
} |