aboutsummaryrefslogtreecommitdiff
path: root/tests/basic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic.lua')
-rw-r--r--tests/basic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic.lua b/tests/basic.lua
index ecd93fc..8522895 100644
--- a/tests/basic.lua
+++ b/tests/basic.lua
@@ -433,7 +433,7 @@ local function chunk2(linda)
433 assert(config.strip_functions and info.short_src=="?" or string.match(info.short_src, "^.*basic.lua$"), "bad info.short_src") 433 assert(config.strip_functions and info.short_src=="?" or string.match(info.short_src, "^.*basic.lua$"), "bad info.short_src")
434 -- These vary so let's not be picky (they're there..) 434 -- These vary so let's not be picky (they're there..)
435 -- 435 --
436 assert(info.linedefined == 400, "bad linedefined") -- start of 'chunk2' 436 assert(info.linedefined == 419, "bad linedefined") -- start of 'chunk2'
437 assert(config.strip_functions and info.currentline==-1 or info.currentline > info.linedefined, "bad currentline") -- line of 'debug.getinfo' 437 assert(config.strip_functions and info.currentline==-1 or info.currentline > info.linedefined, "bad currentline") -- line of 'debug.getinfo'
438 assert(info.lastlinedefined > info.currentline, "bad lastlinedefined") -- end of 'chunk2' 438 assert(info.lastlinedefined > info.currentline, "bad lastlinedefined") -- end of 'chunk2'
439 local k,func= linda:receive("down") 439 local k,func= linda:receive("down")