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

Unified Diff: test/downgrade/unlock_if_necessary_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/downgrade/unlock_dependers_test.dart ('k') | test/get/cache_transformed_dependency_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/downgrade/unlock_if_necessary_test.dart
diff --git a/test/downgrade/unlock_if_necessary_test.dart b/test/downgrade/unlock_if_necessary_test.dart
index c7eff44e7a23f50bf67beda75bbdf9b2d5d1cb2b..a8f4e5f1ef6cc80be7c897b0af014d650ef2c5ad 100644
--- a/test/downgrade/unlock_if_necessary_test.dart
+++ b/test/downgrade/unlock_if_necessary_test.dart
@@ -22,7 +22,7 @@ main() {
"foo_dep": "2.0.0"
}).validate();
- servePackages((builder) {
+ globalPackageServer.add((builder) {
builder.serve("foo", "1.0.0", deps: {"foo_dep": "<2.0.0"});
builder.serve("foo_dep", "1.0.0");
});
« no previous file with comments | « test/downgrade/unlock_dependers_test.dart ('k') | test/get/cache_transformed_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698