[Tarantool-patches] [PATCH v2 luajit 31/45] test: refactor <lang/gc_stack.lua> LuaJIT test
Sergey Kaplun
skaplun at tarantool.org
Wed Aug 21 11:58:34 MSK 2024
This patch refactors the aforementioned test to make its code style
closer to ours.
Relates to tarantool/tarantool#9398
---
test/LuaJIT-tests/lang/gc_stack.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/LuaJIT-tests/lang/gc_stack.lua b/test/LuaJIT-tests/lang/gc_stack.lua
index cd3d8f90..8aee57e3 100644
--- a/test/LuaJIT-tests/lang/gc_stack.lua
+++ b/test/LuaJIT-tests/lang/gc_stack.lua
@@ -1,5 +1,5 @@
do --- Marking sparse stack.
- local t = setmetatable({}, { __index=function(t, k)
+ local t = setmetatable({}, { __index = function(t, k)
k = k - 1
if k == 0 then
collectgarbage() -- Mark stack, including holes.
--
2.45.2
More information about the Tarantool-patches
mailing list