diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-27 14:19:53 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-27 14:19:53 -0200 |
commit | da37ac9c7894186a0e2e0e6f1f5f00b825fd1555 (patch) | |
tree | 1517d929465415e6b6db24617778cc5f0bbf3c5d /testes | |
parent | 662506476b3b9bf651de064884a00c8dbce6e281 (diff) | |
download | lua-da37ac9c7894186a0e2e0e6f1f5f00b825fd1555.tar.gz lua-da37ac9c7894186a0e2e0e6f1f5f00b825fd1555.tar.bz2 lua-da37ac9c7894186a0e2e0e6f1f5f00b825fd1555.zip |
Detail
Slightly better error message for invalid conversions in 'string.format'.
Diffstat (limited to '')
-rw-r--r-- | testes/strings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/strings.lua b/testes/strings.lua index 1260dbcc..587a0e06 100644 --- a/testes/strings.lua +++ b/testes/strings.lua | |||
@@ -302,7 +302,7 @@ check("%100.3d", "too long") | |||
302 | check("%1"..aux..".3d", "too long") | 302 | check("%1"..aux..".3d", "too long") |
303 | check("%1.100d", "too long") | 303 | check("%1.100d", "too long") |
304 | check("%10.1"..aux.."004d", "too long") | 304 | check("%10.1"..aux.."004d", "too long") |
305 | check("%t", "invalid option") | 305 | check("%t", "invalid conversion") |
306 | check("%"..aux.."d", "repeated flags") | 306 | check("%"..aux.."d", "repeated flags") |
307 | check("%d %d", "no value") | 307 | check("%d %d", "no value") |
308 | 308 | ||