lunarmodules / busted

Elegant Lua unit testing.
https://lunarmodules.github.io/busted/
MIT License
1.39k stars 184 forks source link

fix(output) gtest and utfhandlers would error if color was set #688

Closed Tieske closed 2 years ago

Tieske commented 2 years ago

luassert wasn't yet loaded when set_parameter was called. This didn't show in tests because in that case luassert would have been loaded by the busted instance that runs the test suite.

Essentially an isolation problem.

The local is named "luassert" to make it more explicit in the code.