Sergey,
thanks for the patch! LGTMThis patch refactors the aforementioned test to make its code style closer to ours. Relates to tarantool/tarantool#9398 ---
test/LuaJIT-tests/trace/stack_purge.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/LuaJIT-tests/trace/stack_purge.lua b/test/LuaJIT-tests/trace/stack_purge.lua index 6d2876af..e4108b20 100644 --- a/test/LuaJIT-tests/trace/stack_purge.lua +++ b/test/LuaJIT-tests/trace/stack_purge.lua @@ -11,11 +11,11 @@ local function b() end local function c() - for j=1,10 do - for i=1,50 do b() b() b() end + for _ = 1, 10 do + for _ = 1, 50 do b() b() b() end collectgarbage() local t = {} - for i=1,50 do t = {t} end + for _ = 1, 50 do t = {t} end end end