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

Unified Diff: sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_and_immediately_unserve_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_and_immediately_unserve_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_and_immediately_unserve_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_and_immediately_unserve_test.dart
index d8f60e4a23ccd890ab16f052b51ae32ddb0f4606..984a65878e9aebf419a8a8b79d9b22cf4af2eee6 100644
--- a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_and_immediately_unserve_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_and_immediately_unserve_test.dart
@@ -42,8 +42,7 @@ main() {
// of the new server and "unserveDirectory" returns the URL of the
// server that was turned off. We're asserting that the same server was
// both started and stopped.
- expect(results[0]["result"]["url"],
- matches(r"http://127\.0\.0\.1:\d+"));
+ expect(results[0]["result"]["url"], matches(r"http://localhost:\d+"));
expect(results[0]["result"], equals(results[1]["result"]));
});
});
« no previous file with comments | « sdk/lib/_internal/pub/test/serve/utils.dart ('k') | sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698