Log

spec/util_format_spec.lua @ 12905:8473a516004f

description author age
tests: Remove special-casing of Lua 5.1 Kim Alvefur Sat, 02 Jul 2022 17:29:03 +0200
util.format: Skip control code escaping when doing full serialization Kim Alvefur Thu, 27 Jan 2022 21:14:22 +0100
util.format: Ensure metatable __tostring results are also sanitized Kim Alvefur Mon, 13 Dec 2021 16:34:55 +0100
util.format: Fix some formats expecting positive numbers in Lua 5.2 Kim Alvefur Sat, 11 Dec 2021 20:54:37 +0100
util.format: ALL THE TESTS!!! Kim Alvefur Sat, 11 Dec 2021 20:38:54 +0100
util.format: Also handle the %p format added in Lua 5.4 Kim Alvefur Sat, 11 Dec 2021 13:39:58 +0100
util.format: Ensure sanitation of strings passed to wrong format Kim Alvefur Sat, 11 Dec 2021 13:30:34 +0100
util.format: Escape invalid UTF-8 by passing trough serialization Kim Alvefur Fri, 10 Dec 2021 22:48:45 +0100
util.format: Change formatting of nil values to avoid looking like XML Kim Alvefur Tue, 29 Jun 2021 16:18:31 +0200
util.format: Escape ASCII control characters in output Kim Alvefur Tue, 15 Jun 2021 23:24:23 +0200
util.format: Handle integer formats the same way on Lua versions without integer support Kim Alvefur Thu, 30 May 2019 13:54:11 +0200
util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) Kim Alvefur Thu, 30 May 2019 13:41:05 +0200
util.format: Serialize values for the %q format Kim Alvefur Fri, 12 Oct 2018 01:29:34 +0200
util.format: Tweak how nil values are handled Kim Alvefur Wed, 28 Nov 2018 20:36:53 +0100
util.format: Add test coverage for case of extra nil argument Kim Alvefur Sat, 17 Mar 2018 19:47:48 +0100
util.format: Fix tests to have expected value first Kim Alvefur Sat, 17 Mar 2018 19:43:20 +0100
util.format: Move tests to spec/ Kim Alvefur Fri, 10 Nov 2017 05:46:39 +0100