[Tarantool-patches] [PATCH luajit 09/36] test: remove <misc/gc_rechain.lua> LuaJIT test
Sergey Bronnikov
sergeyb at tarantool.org
Thu Aug 15 16:22:18 MSK 2024
Hi, Sergey
thanks for the patch! LGTM
On 14.08.2024 16:55, Sergey Kaplun wrote:
> This patch removes the aforementioned test since it is part of the
> <lang/gc.lua> test.
>
> Part of tarantool/tarantool#9398
> ---
> test/LuaJIT-tests/misc/gc_rechain.lua | 32 ---------------------------
> 1 file changed, 32 deletions(-)
> delete mode 100644 test/LuaJIT-tests/misc/gc_rechain.lua
>
> diff --git a/test/LuaJIT-tests/misc/gc_rechain.lua b/test/LuaJIT-tests/misc/gc_rechain.lua
> deleted file mode 100644
> index 285f4086..00000000
> --- a/test/LuaJIT-tests/misc/gc_rechain.lua
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -
> -do
> - local k
> -
> - collectgarbage()
> -
> - local t = {}
> - t.ac = 1
> -
> - t.nn = 1
> - t.mm = 1
> - t.nn = nil
> - t.mm = nil
> -
> - k = "a".."i"
> - t[k] = 2
> -
> - t.ad = 3
> -
> - t[k] = nil
> - k = nil
> -
> - collectgarbage()
> -
> - k = "a".."f"
> - t[k] = 4
> -
> - t.ak = 5
> -
> - assert(t[k] == 4)
> -end
> -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20240815/cb47e66d/attachment.htm>
More information about the Tarantool-patches
mailing list