aboutsummaryrefslogtreecommitdiff
path: root/test/unit/viml/expressions/parser_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-09-03 13:29:49 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-09-03 04:29:49 -0700
commitdcc8fcf0b9d819357d5ec9beb36cf698e600e809 (patch)
treef9973e5cafd3c2864564f49358b345fbc93129fa /test/unit/viml/expressions/parser_spec.lua
parentd000f02bc0803cd92503293e505a2d2b4c4b8514 (diff)
downloadrneovim-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/unit/viml/expressions/parser_spec.lua')
-rw-r--r--test/unit/viml/expressions/parser_spec.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/viml/expressions/parser_spec.lua b/test/unit/viml/expressions/parser_spec.lua
index a8f29529ec..032baf6578 100644
--- a/test/unit/viml/expressions/parser_spec.lua
+++ b/test/unit/viml/expressions/parser_spec.lua
@@ -451,10 +451,6 @@ local function phl2lua(pstate)
return ret
end
-child_call_once(function()
- assert:set_parameter('TableFormatLevel', 1000000)
-end)
-
describe('Expressions parser', function()
local function _check_parsing(opts, str, exp_ast, exp_highlighting_fs,
nz_flags_exps)