tests/test.lua: Fix fake module() function to prevent _M from being _G (test.lua...
authorMatthew Wild <mwild1@gmail.com>
Wed, 6 Jan 2016 00:24:06 +0000 (00:24 +0000)
committerMatthew Wild <mwild1@gmail.com>
Wed, 6 Jan 2016 00:24:06 +0000 (00:24 +0000)
commitc34778a17e2c8d88f731221d08907ac35a06f442
treeedea37228c1a6b2b08e0e83cf0107f6bd17c1033
parent5360e1b15ca0b09de5c0b87f3162037e6836399c
tests/test.lua: Fix fake module() function to prevent _M from being _G (test.lua's environment), which caused modules to break the sandbox when they set _M.*
tests/test.lua