aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-21 21:03:54 +0200
committerKim Alvefur <zash@zash.se>2018-10-21 21:03:54 +0200
commit9f87a28fc29c595b83c1940d35cc2cc2574f7d62 (patch)
treeccd210f4a9ae50a66fe7e4413c50f841a75af604
parentc532762245ae0b86bef0caa2b1d36a68424e329d (diff)
downloadprosody-9f87a28fc29c595b83c1940d35cc2cc2574f7d62.tar.gz
prosody-9f87a28fc29c595b83c1940d35cc2cc2574f7d62.zip
storagemanager: Fix tests on Lua 5.3
_G.unpack moved to table.unpack
-rw-r--r--spec/core_storagemanager_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/core_storagemanager_spec.lua b/spec/core_storagemanager_spec.lua
index 4fa6d76b..a0a8b5ef 100644
--- a/spec/core_storagemanager_spec.lua
+++ b/spec/core_storagemanager_spec.lua
@@ -1,3 +1,4 @@
+local unpack = table.unpack or unpack;
local server = require "net.server_select";
package.loaded["net.server"] = server;