aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 15:13:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 15:13:21 -0300
commitf2206b2abe848f65956fa48da338c2bfac599e4a (patch)
tree94c1a856ec06846ad7485648ccafb429b5ca1b9b /testes
parent0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (diff)
downloadlua-f2206b2abe848f65956fa48da338c2bfac599e4a.tar.gz
lua-f2206b2abe848f65956fa48da338c2bfac599e4a.tar.bz2
lua-f2206b2abe848f65956fa48da338c2bfac599e4a.zip
'-Wconversion' extended to all options of Lua numbers
Diffstat (limited to 'testes')
-rw-r--r--testes/strings.lua2
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
112do 112do
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, ',')
115end 115end
116 116
117-- repetitions with separator 117-- repetitions with separator