Index: utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
diff --git a/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart b/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
index 13a69203dac9d405da80ffaf6c496efd1e5d8182..f1dd592bf0ef701eafd3c461541ccaa7a0287638 100644 |
--- a/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
+++ b/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
@@ -6,27 +6,28 @@ library pub_tests; |
import 'dart:io'; |
+import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration('updates a locked pub server package with a new incompatible ' |
'constraint', () { |
- servePackages([package("foo", "1.0.0")]); |
+ servePackages([packageMap("foo", "1.0.0")]); |
- appDir([dependency("foo")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo")]).create(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- packagesDir({"foo": "1.0.0"}).scheduleValidate(); |
+ d.packagesDir({"foo": "1.0.0"}).validate(); |
- servePackages([package("foo", "1.0.1")]); |
+ servePackages([packageMap("foo", "1.0.1")]); |
- appDir([dependency("foo", ">1.0.0")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo", ">1.0.0")]).create(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- packagesDir({"foo": "1.0.1"}).scheduleValidate(); |
+ d.packagesDir({"foo": "1.0.1"}).validate(); |
}); |
} |