lunarmodules / luassert

Assertion library for Lua
MIT License
202 stars 76 forks source link

Fix color usage and related CI #185

Closed Tieske closed 2 years ago

Tieske commented 2 years ago

fixes color usage and related CI.

This doesn't fix all CI failures, but at least some Lua versions now succeed

Tieske commented 2 years ago

@alerque mind having a look?

Minor change in behaviour; It now only detects at load time, and from there on always honours the "TableErrorHighlightColor" setting. Previously the setting would be ignored on a non-tty.

I'll extend this to Busted (see https://github.com/Olivine-Labs/busted/pull/675) to make sure that if the manual override for colors is specified, it will also set the proper value in Luasserts "TableErrorHighlightColor".

Tieske commented 2 years ago

thx @alerque