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

Unified Diff: tests/standalone/io/https_server_test.dart

Issue 14083007: Add new InternetAddress class with a static lookup function (including IPv6 results). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix new test. Created 7 years, 8 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: tests/standalone/io/https_server_test.dart
diff --git a/tests/standalone/io/https_server_test.dart b/tests/standalone/io/https_server_test.dart
index fbefbeb1f43810ef8178c5780286645b3f80659f..08fec0c2ecd80b7ec5728ac4ee8bb8f46e86b021 100644
--- a/tests/standalone/io/https_server_test.dart
+++ b/tests/standalone/io/https_server_test.dart
@@ -8,12 +8,11 @@ import "dart:io";
import "dart:uri";
import "dart:isolate";
-const SERVER_ADDRESS = "127.0.0.1";
const HOST_NAME = "localhost";
void testListenOn() {
void test(void onDone()) {
- HttpServer.bindSecure(SERVER_ADDRESS,
+ HttpServer.bindSecure(HOST_NAME,
0,
backlog: 5,
certificateName: 'localhost_cert').then((server) {
« no previous file with comments | « tests/standalone/io/https_client_exception_test.dart ('k') | tests/standalone/io/raw_secure_server_closing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698