aboutsummaryrefslogtreecommitdiff
path: root/testes/sort.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/sort.lua')
-rw-r--r--testes/sort.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/sort.lua b/testes/sort.lua
index 965e1534..290b199e 100644
--- a/testes/sort.lua
+++ b/testes/sort.lua
@@ -199,7 +199,7 @@ do
199 __index = function (_,k) pos1 = k end, 199 __index = function (_,k) pos1 = k end,
200 __newindex = function (_,k) pos2 = k; error() end, }) 200 __newindex = function (_,k) pos2 = k; error() end, })
201 local st, msg = pcall(table.move, a, f, e, t) 201 local st, msg = pcall(table.move, a, f, e, t)
202 assert(not st and not msg and pos1 == x and pos2 == y) 202 assert(not st and pos1 == x and pos2 == y)
203 end 203 end
204 checkmove(1, maxI, 0, 1, 0) 204 checkmove(1, maxI, 0, 1, 0)
205 checkmove(0, maxI - 1, 1, maxI - 1, maxI) 205 checkmove(0, maxI - 1, 1, maxI - 1, maxI)