aboutsummaryrefslogtreecommitdiff
path: root/test/testclnt.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-21 06:07:58 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-21 06:07:58 +0000
commitbce1cb30d856d167e167c4c2997f9bebe03a612c (patch)
tree8e684b912cdc9d27c5aebf593107487c94866438 /test/testclnt.lua
parentf7579db9e830ef41f422a280d26c9077f48728e5 (diff)
downloadluasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.tar.gz
luasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.tar.bz2
luasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.zip
More adjustments/bugfixes.
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