Commit graph

3 commits

Author SHA1 Message Date
Kim Alvefur
58c9115351 util.format: Ensure metatable __tostring results are also sanitized 2021-12-13 16:34:55 +01:00
Kim Alvefur
725bb0cb15 tools/generate_format_spec: Apply lua-format to silence luacheck 2021-12-11 20:58:09 +01:00
Kim Alvefur
3d0844a4f5 util.format: ALL THE TESTS!!!
The more tests I made, the more Lua 5.1 quirks I discovered.

Tests generated using a tool plus some touch-up.
2021-12-11 20:38:54 +01:00