# # # patch "testlib.lua" # from [690ef91f97bdce15204c3e2a61212eaf3ef99fec] # to [05262d080af7a5505620fbbeec4ea527eec435d4] # ============================================================ --- testlib.lua 690ef91f97bdce15204c3e2a61212eaf3ef99fec +++ testlib.lua 05262d080af7a5505620fbbeec4ea527eec435d4 @@ -455,7 +455,7 @@ function samelines(f, t) function samelines(f, t) local fl = {} for l in io.lines(f) do table.insert(fl, l) end - if not table.getn(fl) == table.getn(t) then + if not (table.getn(fl) == table.getn(t)) then L(locheader(), string.format("file has %s lines; table has %s\n", table.getn(fl), table.getn(t))) return false @@ -478,7 +478,7 @@ function greplines(f, t) function greplines(f, t) local fl = {} for l in io.lines(f) do table.insert(fl, l) end - if not table.getn(fl) == table.getn(t) then + if not (table.getn(fl) == table.getn(t)) then L(locheader(), string.format("file has %s lines; table has %s\n", table.getn(fl), table.getn(t))) return false