Index: utils/tests/pub/install/hosted/remove_removed_dependency_test.dart |
diff --git a/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart b/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart |
index 01d95b745ab95d784d68e16786350d97770fdf46..d009ac3fe621abb76da98523637483226698e87b 100644 |
--- a/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart |
+++ b/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart |
@@ -6,33 +6,34 @@ library pub_tests; |
import 'dart:io'; |
+import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration("removes a dependency that's been removed from the pubspec", () { |
servePackages([ |
- package("foo", "1.0.0"), |
- package("bar", "1.0.0") |
+ packageMap("foo", "1.0.0"), |
+ packageMap("bar", "1.0.0") |
]); |
- appDir([dependency("foo"), dependency("bar")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- packagesDir({ |
+ d.packagesDir({ |
"foo": "1.0.0", |
"bar": "1.0.0" |
- }).scheduleValidate(); |
+ }).validate(); |
- appDir([dependency("foo")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo")]).create(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- packagesDir({ |
+ d.packagesDir({ |
"foo": "1.0.0", |
"bar": null |
- }).scheduleValidate(); |
+ }).validate(); |
}); |
} |