Index: utils/tests/pub/update/hosted/remove_removed_dependency_test.dart |
diff --git a/utils/tests/pub/update/hosted/remove_removed_dependency_test.dart b/utils/tests/pub/update/hosted/remove_removed_dependency_test.dart |
index 4841a97a482eeff24e91d0166d738eb6c22e2660..e39c1844c854738cd9db96547a47dd9935662b22 100644 |
--- a/utils/tests/pub/update/hosted/remove_removed_dependency_test.dart |
+++ b/utils/tests/pub/update/hosted/remove_removed_dependency_test.dart |
@@ -6,34 +6,33 @@ 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([ |
- packageMap("foo", "1.0.0"), |
- packageMap("bar", "1.0.0") |
+ package("foo", "1.0.0"), |
+ package("bar", "1.0.0") |
]); |
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create(); |
+ appDir([dependency("foo"), dependency("bar")]).scheduleCreate(); |
schedulePub(args: ['update'], |
output: new RegExp(r"Dependencies updated!$")); |
- d.packagesDir({ |
+ packagesDir({ |
"foo": "1.0.0", |
"bar": "1.0.0" |
- }).validate(); |
+ }).scheduleValidate(); |
- d.appDir([dependencyMap("foo")]).create(); |
+ appDir([dependency("foo")]).scheduleCreate(); |
schedulePub(args: ['update'], |
output: new RegExp(r"Dependencies updated!$")); |
- d.packagesDir({ |
+ packagesDir({ |
"foo": "1.0.0", |
"bar": null |
- }).validate(); |
+ }).scheduleValidate(); |
}); |
} |