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