diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-12 22:02:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-12 22:02:21 +0000 |
commit | 8b114f3bf4ccea3b065551fa94649a9e45935b5b (patch) | |
tree | 06f2faa7e896e9434ba89ec68445ea56e6c8c6dc /test/smtptest.lua | |
parent | b22f6f3830515a57a8776e7489b3e2d434abd12f (diff) | |
download | luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.tar.gz luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.tar.bz2 luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.zip |
Stupid bug in http.lua.
Diffstat (limited to 'test/smtptest.lua')
-rw-r--r-- | test/smtptest.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/smtptest.lua b/test/smtptest.lua index e812737..d0c938c 100644 --- a/test/smtptest.lua +++ b/test/smtptest.lua | |||
@@ -70,7 +70,7 @@ end | |||
70 | local check_headers = function(sent, got) | 70 | local check_headers = function(sent, got) |
71 | sent = sent or {} | 71 | sent = sent or {} |
72 | got = got or {} | 72 | got = got or {} |
73 | for i,v in sent do | 73 | for i,v in pairs(sent) do |
74 | if not similar(v, got[i]) then fail("header " .. v .. "failed!") end | 74 | if not similar(v, got[i]) then fail("header " .. v .. "failed!") end |
75 | end | 75 | end |
76 | end | 76 | end |