diff options
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 |
