dev

This module contains testcases for its parent module, No globals.

See also


-- Set up our test suite.
local suite = require('Dev:ScribuntoUnit'):new()

-- Load global table restrictions.
require('Dev:No globals')

function suite:testWriteGlobal()
    self:assertThrows(function()
        null = false
    end)
end

function suite:testReadGlobal()
    self:assertThrows(function()
        mw.log(null)
    end)
end

return suite