diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 15:13:21 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 15:13:21 -0300 |
| commit | f2206b2abe848f65956fa48da338c2bfac599e4a (patch) | |
| tree | 94c1a856ec06846ad7485648ccafb429b5ca1b9b /testes/strings.lua | |
| parent | 0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (diff) | |
| download | lua-f2206b2abe848f65956fa48da338c2bfac599e4a.tar.gz lua-f2206b2abe848f65956fa48da338c2bfac599e4a.tar.bz2 lua-f2206b2abe848f65956fa48da338c2bfac599e4a.zip | |
'-Wconversion' extended to all options of Lua numbers
Diffstat (limited to 'testes/strings.lua')
| -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 a0204309..9bb52b35 100644 --- a/testes/strings.lua +++ b/testes/strings.lua | |||
| @@ -111,7 +111,7 @@ assert(string.rep('', 10) == '') | |||
| 111 | 111 | ||
| 112 | do | 112 | do |
| 113 | checkerror("too large", string.rep, 'aa', math.maxinteger); | 113 | checkerror("too large", string.rep, 'aa', math.maxinteger); |
| 114 | checkerror("too large", string.rep, 'a', math.maxinteger/2, ',') | 114 | checkerror("too large", string.rep, 'a', math.maxinteger, ',') |
| 115 | end | 115 | end |
| 116 | 116 | ||
| 117 | -- repetitions with separator | 117 | -- repetitions with separator |
