diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util_format_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util_format_spec.lua b/spec/util_format_spec.lua index 8d6ba8ad..0e6a36b7 100644 --- a/spec/util_format_spec.lua +++ b/spec/util_format_spec.lua @@ -18,6 +18,7 @@ describe("util.format", function() it("escapes ascii control stuff", function () assert.equal("␁", format("%s", "\1")); + assert.equal("[␁]", format("%d", "\1")); end); it("escapes invalid UTF-8", function () |