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
commit687384a94a8b12659cbff0ed778910d0efc71c72 (patch)
treeccd210f4a9ae50a66fe7e4413c50f841a75af604 /spec
parente8bab7fadf3cb9aab33bcde6723a9fda4e0b8eee (diff)
downloadprosody-687384a94a8b12659cbff0ed778910d0efc71c72.tar.gz
prosody-687384a94a8b12659cbff0ed778910d0efc71c72.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;