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

Unified Diff: test/get/hosted/stay_locked_if_new_is_satisfied_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
« no previous file with comments | « test/get/hosted/stay_locked_if_compatible_test.dart ('k') | test/get/hosted/stay_locked_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/get/hosted/stay_locked_if_new_is_satisfied_test.dart
diff --git a/test/get/hosted/stay_locked_if_new_is_satisfied_test.dart b/test/get/hosted/stay_locked_if_new_is_satisfied_test.dart
index 5f0da0dcdc1d8d4c3ad24a0b1961ad732e147b3a..7873c354ee004be2c3500f0f58ed50dd0a46120f 100644
--- a/test/get/hosted/stay_locked_if_new_is_satisfied_test.dart
+++ b/test/get/hosted/stay_locked_if_new_is_satisfied_test.dart
@@ -24,7 +24,7 @@ main() {
"baz": "1.0.0"
}).validate();
- servePackages((builder) {
+ globalPackageServer.add((builder) {
builder.serve("foo", "2.0.0", deps: {"bar": "<3.0.0"});
builder.serve("bar", "2.0.0", deps: {"baz": "<3.0.0"});
builder.serve("baz", "2.0.0");
« no previous file with comments | « test/get/hosted/stay_locked_if_compatible_test.dart ('k') | test/get/hosted/stay_locked_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698