diff options
Diffstat (limited to 'test/lua/inspect.lua')
-rw-r--r-- | test/lua/inspect.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/lua/inspect.lua b/test/lua/inspect.lua index 2d967128..ed036bf8 100644 --- a/test/lua/inspect.lua +++ b/test/lua/inspect.lua @@ -416,9 +416,6 @@ function inspect.marshal(inString, options) inString = "return " .. inString end - -- loadstring was removed after Lua 5.1, load given a string - -- argument does the same thing - local load = (_VERSION == "Lua 5.1") and loadstring or load local t = assert(load(inString))() removeIndex(t) |