Index: utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart |
diff --git a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart |
index ba49e667463702135b159df8ca4d6d0fbb9a01a2..9bd23486dc56ef30b045082506efcf6ea9986578 100644 |
--- a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart |
+++ b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart |
@@ -6,39 +6,38 @@ library pub_tests; |
import 'dart:io'; |
-import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration("doesn't update dependencies whose constraints have been " |
"removed", () { |
servePackages([ |
- packageMap("foo", "1.0.0", [dependencyMap("shared-dep")]), |
- packageMap("bar", "1.0.0", [dependencyMap("shared-dep", "<2.0.0")]), |
- packageMap("shared-dep", "1.0.0"), |
- packageMap("shared-dep", "2.0.0") |
+ package("foo", "1.0.0", [dependency("shared-dep")]), |
+ package("bar", "1.0.0", [dependency("shared-dep", "<2.0.0")]), |
+ package("shared-dep", "1.0.0"), |
+ package("shared-dep", "2.0.0") |
]); |
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create(); |
+ appDir([dependency("foo"), dependency("bar")]).scheduleCreate(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- d.packagesDir({ |
+ packagesDir({ |
"foo": "1.0.0", |
"bar": "1.0.0", |
"shared-dep": "1.0.0" |
- }).validate(); |
+ }).scheduleValidate(); |
- d.appDir([dependencyMap("foo")]).create(); |
+ appDir([dependency("foo")]).scheduleCreate(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- d.packagesDir({ |
+ packagesDir({ |
"foo": "1.0.0", |
"bar": null, |
"shared-dep": "1.0.0" |
- }).validate(); |
+ }).scheduleValidate(); |
}); |
} |