aboutsummaryrefslogtreecommitdiff
path: root/test/stufftest.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 21:46:22 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 21:46:22 +0000
commit597a062b1bc38488df1363995eece8a9f19c7111 (patch)
treeba4ccaa8be98d1100aed63abb9c42c099f2c41bb /test/stufftest.lua
parenteac26d2c8dafab604ef2e97e504326cfaf1033cf (diff)
downloadluasocket-597a062b1bc38488df1363995eece8a9f19c7111.tar.gz
luasocket-597a062b1bc38488df1363995eece8a9f19c7111.tar.bz2
luasocket-597a062b1bc38488df1363995eece8a9f19c7111.zip
Almost ready for distribution...
Diffstat (limited to 'test/stufftest.lua')
-rw-r--r--test/stufftest.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/stufftest.lua b/test/stufftest.lua
index 6bd1f91..eddf636 100644
--- a/test/stufftest.lua
+++ b/test/stufftest.lua
@@ -1,13 +1,13 @@
1smtp = require("smtp") 1mime = require("mime")
2 2
3function test_dot(original, right) 3function test_dot(original, right)
4 local result, n = smtp.dot(2, original) 4 local result, n = mime.dot(2, original)
5 assert(result == right, "->" .. result .. "<-") 5 assert(result == right, "->" .. result .. "<-")
6 print("ok") 6 print("ok")
7end 7end
8 8
9function test_stuff(original, right) 9function test_stuff(original, right)
10 local result, n = smtp.dot(2, original) 10 local result, n = mime.dot(2, original)
11 assert(result == right, "->" .. result .. "<-") 11 assert(result == right, "->" .. result .. "<-")
12 print("ok") 12 print("ok")
13end 13end