Log

spec/util_format_spec.lua @ 13107:9c4dc1e6d2c9

description author age
util.format: Update tests for serialization changes Kim Alvefur 21 months ago
tests: Remove special-casing of Lua 5.1 Kim Alvefur 2022-07-02
util.format: Skip control code escaping when doing full serialization Kim Alvefur 2022-01-27
util.format: Ensure metatable __tostring results are also sanitized Kim Alvefur 2021-12-13
util.format: Fix some formats expecting positive numbers in Lua 5.2 Kim Alvefur 2021-12-11
util.format: ALL THE TESTS!!! Kim Alvefur 2021-12-11
util.format: Also handle the %p format added in Lua 5.4 Kim Alvefur 2021-12-11
util.format: Ensure sanitation of strings passed to wrong format Kim Alvefur 2021-12-11
util.format: Escape invalid UTF-8 by passing trough serialization Kim Alvefur 2021-12-10
util.format: Change formatting of nil values to avoid looking like XML Kim Alvefur 2021-06-29
util.format: Escape ASCII control characters in output Kim Alvefur 2021-06-15
util.format: Handle integer formats the same way on Lua versions without integer support Kim Alvefur 2019-05-30
util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) Kim Alvefur 2019-05-30
util.format: Serialize values for the %q format Kim Alvefur 2018-10-11
util.format: Tweak how nil values are handled Kim Alvefur 2018-11-28
util.format: Add test coverage for case of extra nil argument Kim Alvefur 2018-03-17
util.format: Fix tests to have expected value first Kim Alvefur 2018-03-17
util.format: Move tests to spec/ Kim Alvefur 2017-11-10