Changeset

9536:4803ab9a5983

storagemanager: Fix tests on Lua 5.3 _G.unpack moved to table.unpack
author Kim Alvefur <zash@zash.se>
date Sun, 21 Oct 2018 21:03:54 +0200
parents 9535:c1befd1c886d
children 9537:5fe1b08e6353
files spec/core_storagemanager_spec.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/spec/core_storagemanager_spec.lua	Sun Oct 21 19:06:41 2018 +0200
+++ b/spec/core_storagemanager_spec.lua	Sun Oct 21 21:03:54 2018 +0200
@@ -1,3 +1,4 @@
+local unpack = table.unpack or unpack;
 local server = require "net.server_select";
 package.loaded["net.server"] = server;