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

Sergey Bronnikov sergeyb at tarantool.org
Thu Aug 22 16:45:09 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/tail_recursion.lua> test.
>
> Part of tarantool/tarantool#9398
> ---
thanks for the patch! LGTM
>   test/LuaJIT-tests/misc/recurse_tail.lua | 22 ----------------------
>   1 file changed, 22 deletions(-)
>   delete mode 100644 test/LuaJIT-tests/misc/recurse_tail.lua
>
> diff --git a/test/LuaJIT-tests/misc/recurse_tail.lua b/test/LuaJIT-tests/misc/recurse_tail.lua
> deleted file mode 100644
> index ef764432..00000000
> --- a/test/LuaJIT-tests/misc/recurse_tail.lua
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -
> -do
> -  local tr1
> -  function tr1(n)
> -    if n <= 0 then return 0 end
> -    return tr1(n-1)
> -  end
> -  assert(tr1(200) == 0)
> -end
> -
> -do
> -  local tr1, tr2
> -  function tr1(n)
> -    if n <= 0 then return 0 end
> -    return tr2(n-1)
> -  end
> -  function tr2(n)
> -    return tr1(n)
> -  end
> -  assert(tr2(200) == 0)
> -end
> -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20240822/1a1507dd/attachment.htm>


More information about the Tarantool-patches mailing list