aboutsummaryrefslogtreecommitdiff
path: root/test/testclnt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/testclnt.lua')
-rw-r--r--test/testclnt.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testclnt.lua b/test/testclnt.lua
index 1b20ad1..9aa07fe 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -1,4 +1,4 @@
1socket = require"socket" 1local socket = require"socket"
2 2
3host = host or "localhost" 3host = host or "localhost"
4port = port or "8080" 4port = port or "8080"
@@ -418,7 +418,7 @@ function connect_errors()
418 assert(not c and e == "connection refused", e) 418 assert(not c and e == "connection refused", e)
419 print("ok") 419 print("ok")
420 io.stderr:write("host not found: ") 420 io.stderr:write("host not found: ")
421 local c, e = socket.connect("not.exist.com", 1); 421 local c, e = socket.connect("host.is.invalid", 1);
422 assert(not c and e == "host not found", e) 422 assert(not c and e == "host not found", e)
423 print("ok") 423 print("ok")
424end 424end