Index: utils/tests/pub/update/hosted/unlock_dependers_test.dart |
diff --git a/utils/tests/pub/update/hosted/unlock_dependers_test.dart b/utils/tests/pub/update/hosted/unlock_dependers_test.dart |
index 2c3b72808a636d689267496f8a18920c0aef5d12..b1436e9842a30a05f82877ac8711d95b8ef10765 100644 |
--- a/utils/tests/pub/update/hosted/unlock_dependers_test.dart |
+++ b/utils/tests/pub/update/hosted/unlock_dependers_test.dart |
@@ -6,38 +6,37 @@ library pub_tests; |
import 'dart:io'; |
-import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration("updates a locked package's dependers in order to get it to max " |
"version", () { |
servePackages([ |
- packageMap("foo", "1.0.0", [dependencyMap("bar", "<2.0.0")]), |
- packageMap("bar", "1.0.0") |
+ package("foo", "1.0.0", [dependency("bar", "<2.0.0")]), |
+ package("bar", "1.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" |
- }).validate(); |
+ }).scheduleValidate(); |
servePackages([ |
- packageMap("foo", "2.0.0", [dependencyMap("bar", "<3.0.0")]), |
- packageMap("bar", "2.0.0") |
+ package("foo", "2.0.0", [dependency("bar", "<3.0.0")]), |
+ package("bar", "2.0.0") |
]); |
schedulePub(args: ['update', 'bar'], |
output: new RegExp(r"Dependencies updated!$")); |
- d.packagesDir({ |
+ packagesDir({ |
"foo": "2.0.0", |
"bar": "2.0.0" |
- }).validate(); |
+ }).scheduleValidate(); |
}); |
} |