From f17ecf20befab4332d1a9cf5fdaa31b6f0f8c899 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 23 Apr 2009 19:04:01 +0200 Subject: [PATCH] change localhost to 127.0.0.1 because macs suck --- test/test-pingpong.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test-pingpong.js b/test/test-pingpong.js index 7615b42d03..017af24058 100644 --- a/test/test-pingpong.js +++ b/test/test-pingpong.js @@ -12,7 +12,7 @@ function onLoad() { connection.close(); return; } - //stdout.write ("-"); + stdout.print ("-"); if (/QUIT/.exec(data)) { server.close(); connection.close(); @@ -24,7 +24,7 @@ function onLoad() { socket = new Socket; socket.onRead = function (data) { - //stdout.write("."); + stdout.print ("."); assertEquals("PONG", data); setTimeout(function() { count += 1; @@ -43,7 +43,7 @@ function onLoad() { assertEquals(N, count); }; - socket.connectTCP(12123, "localhost", function (status) { + socket.connectTCP(12123, "127.0.0.1", function (status) { if(status != 0) process.exit(1);