[Tarantool-patches] [PATCH v2 luajit 12/45] test: remove <misc/gc_rechain.lua> LuaJIT test

Sergey Bronnikov sergeyb at tarantool.org
Thu Aug 22 17:53:28 MSK 2024


Sergey,

On 21.08.2024 11:58, Sergey Kaplun wrote:
> This patch removes the aforementioned test since it is part of the
> <lang/gc.lua> test.
>
> Part of tarantool/tarantool#9398
> ---
thanks for the patch! LGTM
>   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/20240822/2a2af68f/attachment.htm>


More information about the Tarantool-patches mailing list