aboutsummaryrefslogtreecommitdiff
path: root/testes/db.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-15 10:20:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-15 10:20:13 -0300
commitc197885cb00b85251c35cffdc4057efaee2d7a88 (patch)
treec26a9a0be4ad37e85c51e59ece17b62809c7deb0 /testes/db.lua
parent934e77a286aeb97ca02badf56956ccc78217e9d0 (diff)
downloadlua-c197885cb00b85251c35cffdc4057efaee2d7a88.tar.gz
lua-c197885cb00b85251c35cffdc4057efaee2d7a88.tar.bz2
lua-c197885cb00b85251c35cffdc4057efaee2d7a88.zip
Small improvements in tests
Diffstat (limited to 'testes/db.lua')
-rw-r--r--testes/db.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/db.lua b/testes/db.lua
index 02b96aca..67b58934 100644
--- a/testes/db.lua
+++ b/testes/db.lua
@@ -928,7 +928,7 @@ do
928 local cl = countlines(rest) 928 local cl = countlines(rest)
929 -- at most 10 lines in first part, 11 in second, plus '...' 929 -- at most 10 lines in first part, 11 in second, plus '...'
930 assert(cl <= 10 + 11 + 1) 930 assert(cl <= 10 + 11 + 1)
931 local brk = string.find(rest, "%.%.%.") 931 local brk = string.find(rest, "%.%.%.\t%(skip")
932 if brk then -- does message have '...'? 932 if brk then -- does message have '...'?
933 local rest1 = string.sub(rest, 1, brk) 933 local rest1 = string.sub(rest, 1, brk)
934 local rest2 = string.sub(rest, brk, #rest) 934 local rest2 = string.sub(rest, brk, #rest)