From 2d78050fd56b8188aa5a65ad2667e301b60eea45 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 26 Apr 2024 19:44:17 +0200 Subject: Adding upstream version 4.2.4. Signed-off-by: Daniel Baumann --- test/lua/verify_globals.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/lua/verify_globals.lua') diff --git a/test/lua/verify_globals.lua b/test/lua/verify_globals.lua index dbed8ceb..5e61ffce 100644 --- a/test/lua/verify_globals.lua +++ b/test/lua/verify_globals.lua @@ -35,13 +35,20 @@ local ignore = { "getfenv", "io.gfind", "setfenv", + "loadstring", -- call load with a string argument + "math.log10", -- call math.log with second argument "math.mod", + "module", "newproxy", + "package.loaders", -- renamed package.searchers + "package.seeall", -- used with module "string.gfind", "table.foreach", "table.foreachi", "table.getn", + "table.maxn", "table.setn", + "unpack", -- replaced by table.unpack -- in Lua 5.2+ only "bit32", @@ -55,6 +62,14 @@ local ignore = { "table.pack", "table.unpack", + -- removed in Lua 5.3 + "math.atan2", -- use math.atan with two arguments + "math.cosh", + "math.sinh", + "math.tanh", + "math.pow", -- use x^y + "math.frexp", + "math.ldexp", -- use x * 2.0^exp } -- cgit v1.2.3