diff options
author | Daniel Hahler <git@thequod.de> | 2019-09-03 13:29:49 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-03 04:29:49 -0700 |
commit | dcc8fcf0b9d819357d5ec9beb36cf698e600e809 (patch) | |
tree | f9973e5cafd3c2864564f49358b345fbc93129fa /test/helpers.lua | |
parent | d000f02bc0803cd92503293e505a2d2b4c4b8514 (diff) | |
download | rneovim-dcc8fcf0b9d819357d5ec9beb36cf698e600e809.tar.gz rneovim-dcc8fcf0b9d819357d5ec9beb36cf698e600e809.tar.bz2 rneovim-dcc8fcf0b9d819357d5ec9beb36cf698e600e809.zip |
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.
Diffstat (limited to 'test/helpers.lua')
-rw-r--r-- | test/helpers.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index 25fff55596..779d33e3b1 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -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 |