diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-21 21:03:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-21 21:03:54 +0200 |
commit | 687384a94a8b12659cbff0ed778910d0efc71c72 (patch) | |
tree | ccd210f4a9ae50a66fe7e4413c50f841a75af604 | |
parent | e8bab7fadf3cb9aab33bcde6723a9fda4e0b8eee (diff) | |
download | prosody-687384a94a8b12659cbff0ed778910d0efc71c72.tar.gz prosody-687384a94a8b12659cbff0ed778910d0efc71c72.zip |
storagemanager: Fix tests on Lua 5.3
_G.unpack moved to table.unpack
-rw-r--r-- | spec/core_storagemanager_spec.lua | 1 |
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; |