From c31d6774ac7db4cfbc548ce507ae65ab6036f873 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 29 Jan 2024 14:29:24 -0300 Subject: Details --- testes/sort.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testes') diff --git a/testes/sort.lua b/testes/sort.lua index 45014652..7e566a5a 100644 --- a/testes/sort.lua +++ b/testes/sort.lua @@ -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() -- cgit v1.2.3-55-g6feb