Index: sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart |
diff --git a/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart b/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart |
index da950b58fffa5bc9299ae56c43f19c41968f28ad..6747a4471d23c9c77527c39ee7c9ba38769c3aa7 100644 |
--- a/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart |
+++ b/sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart |
@@ -12,10 +12,10 @@ import '../test_pub.dart'; |
main() { |
initConfig(); |
integration("--dry-run shows report but does not apply changes", () { |
- servePackages([ |
- packageMap("foo", "1.0.0"), |
- packageMap("foo", "2.0.0"), |
- ]); |
+ servePackages((builder) { |
+ builder.serve("foo", "1.0.0"); |
+ builder.serve("foo", "2.0.0"); |
+ }); |
// Create the first lockfile. |
d.appDir({ |