tests: assert:set_parameter('TableFormatLevel', 100) #10925

luassert uses 3 by default, which is often not enough.

Instead of documenting how to increase it, let's use a more fitting
(sane) default of 100 levels.
This commit is contained in:
Daniel Hahler
2019-09-03 13:29:49 +02:00
committed by Justin M. Keyes
parent d000f02bc0
commit dcc8fcf0b9
5 changed files with 2 additions and 12 deletions

View File

@@ -6,6 +6,8 @@ local lfs = require('lfs')
local relpath = require('pl.path').relpath
local Paths = require('test.config.paths')
assert:set_parameter('TableFormatLevel', 100)
local quote_me = '[^.%w%+%-%@%_%/]' -- complement (needn't quote)
local function shell_quote(str)
if string.find(str, quote_me) or str == '' then