diff options
Diffstat (limited to 'testes')
-rw-r--r-- | testes/strings.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testes/strings.lua b/testes/strings.lua index bc123d1a..3e32f2c4 100644 --- a/testes/strings.lua +++ b/testes/strings.lua | |||
@@ -453,8 +453,7 @@ else | |||
453 | 453 | ||
454 | str = "abc %c def" | 454 | str = "abc %c def" |
455 | testpfs("I", str, string.byte("A")) | 455 | testpfs("I", str, string.byte("A")) |
456 | -- non-printable character | 456 | testpfs("I", str, 255) |
457 | assert(callpfs("I", str, 255) == "abc <\\255> def") | ||
458 | 457 | ||
459 | str = string.rep("a", blen - 1) .. "%p" .. string.rep("cd", blen) | 458 | str = string.rep("a", blen - 1) .. "%p" .. string.rep("cd", blen) |
460 | testpfs("P", str, {}) | 459 | testpfs("P", str, {}) |