summaryrefslogtreecommitdiff
path: root/testes/nextvar.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-27 12:59:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-27 12:59:22 -0300
commit6eb53b752617fae9e1329bfe2cfecdcbb593c398 (patch)
treec392ef632bbcfbf7b3716f5c6c17b06617bca8da /testes/nextvar.lua
parent9b7987a9d1471ba94764286b28e0998f73deb46a (diff)
downloadlua-github-6eb53b752617fae9e1329bfe2cfecdcbb593c398.tar.gz
Details
Several details in code (e.g., moving a variable to the most inner scope that encloses its uses), comments, parameter names, extra tests.
Diffstat (limited to 'testes/nextvar.lua')
-rw-r--r--testes/nextvar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/nextvar.lua b/testes/nextvar.lua
index 9d919631..73af77dd 100644
--- a/testes/nextvar.lua
+++ b/testes/nextvar.lua
@@ -76,7 +76,7 @@ end
-- testing constructor sizes
local sizes = {0, 1, 2, 3, 4, 5, 7, 8, 9, 15, 16, 17,
- 30, 31, 32, 33, 34, 500, 1000}
+ 30, 31, 32, 33, 34, 254, 255, 256, 500, 1000}
for _, sa in ipairs(sizes) do -- 'sa' is size of the array part
local arr = {"return {"}