Diff

spec/core_storagemanager_spec.lua @ 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
parent 9491:89e4cbd1a564
child 9691:e11e076f0eb8
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;