aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_format_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.format: Escape ASCII control characters in outputKim Alvefur2021-06-151-0/+5
| | | | | | | This should offer some protection against doing evil things to terminals. Doesn't protect against pure broken UTF-8 garbage however. See #734
* util.format: Handle integer formats the same way on Lua versions without ↵Kim Alvefur2019-05-301-0/+1
| | | | integer support
* util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371)Kim Alvefur2019-05-301-0/+1
|
* util.format: Serialize values for the %q formatKim Alvefur2018-10-121-0/+1
| | | | Improves eg debug logs
* util.format: Tweak how nil values are handledKim Alvefur2018-11-281-0/+2
| | | | Because [<nil>] seems exsessive
* util.format: Add test coverage for case of extra nil argumentKim Alvefur2018-03-171-0/+1
|
* util.format: Fix tests to have expected value firstKim Alvefur2018-03-171-5/+5
|
* util.format: Move tests to spec/Kim Alvefur2017-11-101-0/+13