bluebird75 / luaunit

LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
Other
565 stars 136 forks source link

Add local to local variables #162

Closed Riyyi closed 4 months ago

Riyyi commented 4 months ago

Our runtime is fairly strict, so it errors in these places: myfile.lua: in lib/test/luaunit, near line 3429: globals error: writing nil to 'testNames' Fixed by adding the local keyword.

bluebird75 commented 4 months ago

Thanks