issue #195 strings tests part 4

cmake
Dibyendu Majumdar 3 years ago
parent facb56e0c1
commit 1fb5b08491

@ -236,6 +236,7 @@ end
assert(string.format("\0%s\0", "\0\0\1") == "\0\0\0\1\0")
checkerror("contains zeros", string.format, "%10s", "\0")
checkerror("cannot have modifiers", string.format, "%10q", "1")
-- format x tostring
assert(string.format("%s %s", nil, true) == "nil true")

Loading…
Cancel
Save