Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9535:c1befd1c886d | 9536:4803ab9a5983 |
---|---|
1 local unpack = table.unpack or unpack; | |
1 local server = require "net.server_select"; | 2 local server = require "net.server_select"; |
2 package.loaded["net.server"] = server; | 3 package.loaded["net.server"] = server; |
3 | 4 |
4 local st = require "util.stanza"; | 5 local st = require "util.stanza"; |
5 | 6 |