Index: sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart b/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart |
index 76c3b31b83bbded406ee44a31d1d3a7ed6349457..d69c65ab5861d40fb8a962499cedc929cba05ff9 100644 |
--- a/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart |
+++ b/sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart |
@@ -10,7 +10,7 @@ import '../../test_pub.dart'; |
main() { |
initConfig(); |
integration('errors if the script does not exist.', () { |
- servePackages([packageMap("foo", "1.0.0")]); |
+ servePackages((builder) => builder.serve("foo", "1.0.0")); |
schedulePub(args: ["global", "activate", "foo"]); |