aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index f8fa894..9ac27d4 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -505,7 +505,7 @@ do
505 return _tostring(v) 505 return _tostring(v)
506 end 506 end
507 end 507 end
508 print("string.format()", string.format("%q", "\"\\\0000\0010\r0\n0\t0\"")) 508 print("string.format()", string.format("%q", "\"\\\0000\0010\002\r\n0\t0\""))
509 print("string.format()", string.format("%12.3fx%%sxx%.6s", 3.1, {})) 509 print("string.format()", string.format("%12.3fx%%sxx%.6s", 3.1, {}))
510 print("string.format()", string.format("%-3f %%%s %%s", 3.1, true)) 510 print("string.format()", string.format("%-3f %%%s %%s", 3.1, true))
511 print("string.format()", string.format("% 3.2g %%d %%%s", 3.1, nil)) 511 print("string.format()", string.format("% 3.2g %%d %%%s", 3.1, nil))