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

Unified Diff: sdk/lib/_internal/pub/test/descriptor.dart

Issue 311253005: Bind to all available loopback addresses in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 6 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: sdk/lib/_internal/pub/test/descriptor.dart
diff --git a/sdk/lib/_internal/pub/test/descriptor.dart b/sdk/lib/_internal/pub/test/descriptor.dart
index 25991baf4e2e3f851d95cde7257e4a7326c2fdbf..aec82a361a20aa0b4f7dd5c02ed517e6c1a27567 100644
--- a/sdk/lib/_internal/pub/test/descriptor.dart
+++ b/sdk/lib/_internal/pub/test/descriptor.dart
@@ -145,7 +145,7 @@ Descriptor cacheDir(Map packages, {bool includePubspecs: false}) {
Descriptor hostedCache(Iterable<Descriptor> contents) {
return dir(cachePath, [
dir('hosted', [
- async(port.then((p) => dir('127.0.0.1%58$p', contents)))
+ async(port.then((p) => dir('localhost%58$p', contents)))
])
]);
}

Powered by Google App Engine
This is Rietveld 408576698