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

Sergey Kaplun skaplun at tarantool.org
Wed Aug 21 11:58:32 MSK 2024


This patch removes the aforementioned test since it is part of the
<lang/tail_recursion.lua> test.

Part of tarantool/tarantool#9398
---
 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
-
-- 
2.45.2



More information about the Tarantool-patches mailing list