Comparison

spec/core_storagemanager_spec.lua @ 12589:39ae08180c81

compat: Remove handling of Lua 5.1 location of 'unpack' function
author Kim Alvefur <zash@zash.se>
date Mon, 11 Jul 2022 19:07:38 +0200
parent 11739:e0d0680e04cc
child 12600:3d3a0c4e2662
comparison
equal deleted inserted replaced
12588:b15d3cf98ba6 12589:39ae08180c81
1 local unpack = table.unpack or unpack; -- luacheck: ignore 113 1 local unpack = table.unpack;
2 local server = require "net.server_select"; 2 local server = require "net.server_select";
3 package.loaded["net.server"] = server; 3 package.loaded["net.server"] = server;
4 4
5 local st = require "util.stanza"; 5 local st = require "util.stanza";
6 6