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

Unified Diff: test/list_package_dirs/lists_dependency_directories_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/unlock_if_version_doesnt_exist_test.dart ('k') | test/package_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/list_package_dirs/lists_dependency_directories_test.dart
diff --git a/test/list_package_dirs/lists_dependency_directories_test.dart b/test/list_package_dirs/lists_dependency_directories_test.dart
index 2fbcb97404ad7e7174188d1546baf6c8ffda73be..8001ca7889d522c1c78a14b6c06fd341fcacd35a 100644
--- a/test/list_package_dirs/lists_dependency_directories_test.dart
+++ b/test/list_package_dirs/lists_dependency_directories_test.dart
@@ -34,8 +34,9 @@ main() {
outputJson: {
"packages": {
"foo": path.join(sandboxDir, "foo", "lib"),
- "bar": port.then((p) => path.join(sandboxDir, cachePath, "hosted",
- "localhost%58$p", "bar-1.0.0", "lib")),
+ "bar": globalServer.port.then(
+ (p) => path.join(sandboxDir, cachePath, "hosted",
+ "localhost%58$p", "bar-1.0.0", "lib")),
"myapp": canonicalize(path.join(sandboxDir, appPath, "lib"))
},
"input_files": [
« no previous file with comments | « test/get/hosted/unlock_if_version_doesnt_exist_test.dart ('k') | test/package_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698