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))) |
]) |
]); |
} |