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