mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-16 02:08:21 +01:00
Fix. use table.unpack in mimetest on Lua 5.2.
This commit is contained in:
parent
920bc97629
commit
45ff0e1775
@ -2,6 +2,8 @@ local socket = require("socket")
|
|||||||
local ltn12 = require("ltn12")
|
local ltn12 = require("ltn12")
|
||||||
local mime = require("mime")
|
local mime = require("mime")
|
||||||
|
|
||||||
|
local unpack = unpack or table.unpack
|
||||||
|
|
||||||
dofile("testsupport.lua")
|
dofile("testsupport.lua")
|
||||||
|
|
||||||
local qptest = "qptest.bin"
|
local qptest = "qptest.bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user