Index: test/must_pub_get_test.dart |
diff --git a/test/must_pub_get_test.dart b/test/must_pub_get_test.dart |
index 22339249c39f6b2359701703b61c90b23bfb1fba..058ea89ae27e0681a29eb83ecb80902d80e91753 100644 |
--- a/test/must_pub_get_test.dart |
+++ b/test/must_pub_get_test.dart |
@@ -269,7 +269,7 @@ foo:http://example.com/ |
setUp(() { |
// Avoid using a path dependency because it triggers the full validation |
// logic. We want to be sure SDK-validation works without that logic. |
- servePackages((builder) { |
+ globalPackageServer.add((builder) { |
builder.serve("foo", "3.0.0", pubspec: { |
"environment": {"sdk": ">=1.0.0 <2.0.0"} |
}); |