diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-17 21:46:22 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-17 21:46:22 +0000 |
| commit | 597a062b1bc38488df1363995eece8a9f19c7111 (patch) | |
| tree | ba4ccaa8be98d1100aed63abb9c42c099f2c41bb /test/stufftest.lua | |
| parent | eac26d2c8dafab604ef2e97e504326cfaf1033cf (diff) | |
| download | luasocket-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.lua | 6 |
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 @@ | |||
| 1 | smtp = require("smtp") | 1 | mime = require("mime") |
| 2 | 2 | ||
| 3 | function test_dot(original, right) | 3 | function 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") |
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | function test_stuff(original, right) | 9 | function 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") |
| 13 | end | 13 | end |
