[Tarantool-patches] [PATCH v2 luajit 10/45] test: remove <misc/fori_coerce.lua> LuaJIT test
Sergey Bronnikov
sergeyb at tarantool.org
Thu Aug 22 17:53:53 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/for.lua> test.
>
> Part of tarantool/tarantool#9398
> ---
thanks for the patch! LGTM
> test/LuaJIT-tests/misc/fori_coerce.lua | 33 --------------------------
> 1 file changed, 33 deletions(-)
> delete mode 100644 test/LuaJIT-tests/misc/fori_coerce.lua
>
> diff --git a/test/LuaJIT-tests/misc/fori_coerce.lua b/test/LuaJIT-tests/misc/fori_coerce.lua
> deleted file mode 100644
> index 7330943b..00000000
> --- a/test/LuaJIT-tests/misc/fori_coerce.lua
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -
> -do
> - local n = 1
> - local x = 0
> - for i=1,20 do
> - for j=n,100 do x = x + 1 end
> - if i == 13 then n = "2" end
> - end
> - assert(x == 1993)
> -end
> -
> -do
> - local n = 1
> - local x = 0
> - for i=1,20 do
> - for j=n,100 do x = x + 1 end
> - if i == 10 then n = "2" end
> - end
> - assert(x == 1990)
> -end
> -
> -do
> - local function f()
> - local n = 1
> - local x = 0
> - for i=1,20 do
> - for j=n,100 do x = x + 1 end
> - if i == 10 then n = "x" end
> - end
> - end
> - assert(not pcall(f))
> -end
> -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20240822/0ff4eb11/attachment.htm>
More information about the Tarantool-patches
mailing list