diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-09-29 12:08:49 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-09-29 13:26:12 +0200 |
commit | 563bc39aac10185a03e74faa8f992ce2d10f68e8 (patch) | |
tree | 935defaf1be75daaa52280e98a1288e0e9c3c5c4 /test/functional/lua/help_spec.lua | |
parent | 561c99c86ae37e4bc0eb83d0d51a984646448e24 (diff) | |
download | rneovim-563bc39aac10185a03e74faa8f992ce2d10f68e8.tar.gz rneovim-563bc39aac10185a03e74faa8f992ce2d10f68e8.tar.bz2 rneovim-563bc39aac10185a03e74faa8f992ce2d10f68e8.zip |
feat(docs): fixes for :help HTML generator
Generate correct leading whitespace for argument, taglink, tag, etc.
Diffstat (limited to 'test/functional/lua/help_spec.lua')
-rw-r--r-- | test/functional/lua/help_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua index 2ddabc15ae..a00aaea9d2 100644 --- a/test/functional/lua/help_spec.lua +++ b/test/functional/lua/help_spec.lua @@ -21,7 +21,7 @@ describe(':help docs', function() ok(rv.helpfiles > 100, '>100 :help files', rv.helpfiles) -- Check that parse errors did not increase wildly. -- TODO: Fix all parse errors in :help files. - ok(rv.err_count < 1300, '<1300 parse errors', rv.err_count) + ok(rv.err_count < 250, '<250 parse errors', rv.err_count) eq({}, rv.invalid_links, exec_lua([[return 'found invalid :help tag links:\n'..vim.inspect(...)]], rv.invalid_links)) end) @@ -43,7 +43,7 @@ describe(':help docs', function() tmpdir ) eq(4, #rv.helpfiles) - ok(rv.err_count < 16, '<16 parse errors', rv.err_count) + ok(rv.err_count <= 6, '<=6 parse errors', rv.err_count) eq({}, rv.invalid_links, exec_lua([[return 'found invalid :help tag links:\n'..vim.inspect(...)]], rv.invalid_links)) end) end) |