aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commit58d8c73bf3ad35012a6e9c5169be76ec251dc10d (patch)
treeccd210f4a9ae50a66fe7e4413c50f841a75af604 /spec
parent520bc696848516df71f55d2fc047044d2fd6c1d7 (diff)
downloadprosody-58d8c73bf3ad35012a6e9c5169be76ec251dc10d.tar.gz
prosody-58d8c73bf3ad35012a6e9c5169be76ec251dc10d.zip
storagemanager: Fix tests on Lua 5.3
_G.unpack moved to table.unpack
Diffstat (limited to 'spec')
-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;