diff options
author | moteus <mimir@newmail.ru> | 2013-05-27 13:11:07 +0400 |
---|---|---|
committer | moteus <mimir@newmail.ru> | 2013-05-27 13:11:07 +0400 |
commit | 45ff0e17753201f4c42c714fdc28898c73e59eb9 (patch) | |
tree | 217a936ec507ce673bb9f10cba3edc2c33511445 /test | |
parent | 920bc9762954454468d056a61391635cbd849406 (diff) | |
download | luasocket-45ff0e17753201f4c42c714fdc28898c73e59eb9.tar.gz luasocket-45ff0e17753201f4c42c714fdc28898c73e59eb9.tar.bz2 luasocket-45ff0e17753201f4c42c714fdc28898c73e59eb9.zip |
Fix. use table.unpack in mimetest on Lua 5.2.
Diffstat (limited to 'test')
-rw-r--r-- | test/mimetest.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mimetest.lua b/test/mimetest.lua index 11c3f4f..f5b3747 100644 --- a/test/mimetest.lua +++ b/test/mimetest.lua | |||
@@ -2,6 +2,8 @@ local socket = require("socket") | |||
2 | local ltn12 = require("ltn12") | 2 | local ltn12 = require("ltn12") |
3 | local mime = require("mime") | 3 | local mime = require("mime") |
4 | 4 | ||
5 | local unpack = unpack or table.unpack | ||
6 | |||
5 | dofile("testsupport.lua") | 7 | dofile("testsupport.lua") |
6 | 8 | ||
7 | local qptest = "qptest.bin" | 9 | local qptest = "qptest.bin" |