diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-02-23 13:02:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 13:02:15 +0100 |
commit | 0cd0fdf4788b892a85c196b26a4099ae2e86beff (patch) | |
tree | 00de2dd45d9a5bb3ba743a22974aa9fded165a08 /test/functional/lua/help_spec.lua | |
parent | 524e1a06432ed7a88c1e183d81812dd48dc18cfb (diff) | |
parent | 6dfbeb0d990d24657754463c6ab155c19e7f5f56 (diff) | |
download | rneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.tar.gz rneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.tar.bz2 rneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.zip |
Merge pull request #22357 from clason/docs-ts
* Work around tree-sitter-vimdoc parsing errors introduced in a recent PR.
* Drop the tolerance of the test to 0 to make sure this doesn't happen again.
Diffstat (limited to 'test/functional/lua/help_spec.lua')
-rw-r--r-- | test/functional/lua/help_spec.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua index b396e2ba30..d66d9f7fbe 100644 --- a/test/functional/lua/help_spec.lua +++ b/test/functional/lua/help_spec.lua @@ -21,9 +21,8 @@ describe(':help docs', function() ok(rv.helpfiles > 100, '>100 :help files', rv.helpfiles) eq({}, rv.invalid_links, 'invalid tags in :help docs') eq({}, rv.invalid_urls, 'invalid URLs in :help docs') - -- Check that parse errors did not increase wildly. - -- TODO: Fix all parse errors in :help files. - ok(rv.err_count < 250, '<250 parse errors', rv.err_count) + -- Check that parse errors did not increase. + ok(rv.err_count == 0, 'no parse errors', rv.err_count) end) it('gen_help_html.lua generates HTML', function() |