Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: test/get/hosted/stay_locked_if_compatible_test.dart

Issue 1664563002: Refactor test servers to make them less global. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/get/hosted/stay_locked_if_compatible_test.dart
diff --git a/test/get/hosted/stay_locked_if_compatible_test.dart b/test/get/hosted/stay_locked_if_compatible_test.dart
index e2f149fda8ae7f797921011edab7c9468d629975..75f07b0444eea8f4ccf032820ead2dbf0d1b4d6f 100644
--- a/test/get/hosted/stay_locked_if_compatible_test.dart
+++ b/test/get/hosted/stay_locked_if_compatible_test.dart
@@ -16,7 +16,7 @@ main() {
d.packagesDir({"foo": "1.0.0"}).validate();
- servePackages((builder) => builder.serve("foo", "1.0.1"));
+ globalPackageServer.add((builder) => builder.serve("foo", "1.0.1"));
d.appDir({"foo": ">=1.0.0"}).create();

Powered by Google App Engine
This is Rietveld 408576698