This commit is contained in:
Roberto Ierusalimschy
2024-01-29 14:29:24 -03:00
parent 108e0bdc84
commit c31d6774ac
7 changed files with 25 additions and 24 deletions

View File

@@ -13,6 +13,8 @@ do print "testing 'table.create'"
assert(#t == i - 1)
t[i] = 0
end
for i = 1, 20 do t[#t + 1] = i * 10 end
assert(#t == 40 and t[39] == 190)
assert(not T or T.querytab(t) == 10000)
t = nil
collectgarbage()