mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
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:
committed by
Justin M. Keyes
parent
d000f02bc0
commit
dcc8fcf0b9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user