<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Sergey,<br>
</p>
<div class="moz-cite-prefix">On 21.08.2024 11:58, Sergey Kaplun
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f60d69f123234e47b5ec57993107c44abdfe0e06.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">This patch refactors the aforementioned test to make its code style
closer to ours.
Relates to tarantool/tarantool#9398
---</pre>
</blockquote>
thanks for the patch! LGTM<br>
<blockquote type="cite"
cite="mid:f60d69f123234e47b5ec57993107c44abdfe0e06.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">
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
</pre>
</blockquote>
</body>
<lt-container></lt-container>
</html>