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

Unified Diff: sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.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/serve/web_socket/serve_directory_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
index a3de26affa8fb1b21fe32cf613b26e547aad7f27..148f74d79c7f96d2c20aedbbef16ab1cdb6039cf 100644
--- a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
@@ -27,7 +27,7 @@ main() {
// Bind the new directory.
expectWebSocketResult("serveDirectory", {"path": "test"}, {
- "url": matches(r"http://127\.0\.0\.1:\d+")
+ "url": matches(r"http://localhost:\d+")
}).then((response) {
var url = Uri.parse(response["url"]);
registerServerPort("test", url.port);

Powered by Google App Engine
This is Rietveld 408576698