mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-09-21 17:04:00 +00:00
Manual changes following smoke test
This commit is contained in:
@@ -10,6 +10,7 @@ local source = assert(debug.getinfo(1, "S")).source
|
||||
local shared_root = assert(source:match("^@(.*)/framework%.lua$"))
|
||||
local Stubs = assert(loadfile(shared_root .. "/stubs.lua"))()
|
||||
|
||||
--- @class Framework
|
||||
local Framework = {}
|
||||
|
||||
--- Turn a value into a string for failure messages
|
||||
|
||||
@@ -50,6 +50,7 @@ end
|
||||
|
||||
--- Create an independent set of stubs, installed as the lua globals
|
||||
function Stubs.new()
|
||||
--- @class Stubs
|
||||
local stubs = {
|
||||
events = {}, -- events raised through script.raise_event
|
||||
printed = {}, -- game.print and player.print messages
|
||||
|
||||
Reference in New Issue
Block a user