aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/help_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/lua/help_spec.lua')
-rw-r--r--test/functional/lua/help_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua
index f5e67ec636..b396e2ba30 100644
--- a/test/functional/lua/help_spec.lua
+++ b/test/functional/lua/help_spec.lua
@@ -19,11 +19,11 @@ describe(':help docs', function()
local rv = exec_lua([[return require('scripts.gen_help_html').validate('./build/runtime/doc')]])
-- Check that we actually found helpfiles.
ok(rv.helpfiles > 100, '>100 :help files', rv.helpfiles)
- eq({}, rv.invalid_links, 'found invalid :help tag links')
- eq({}, rv.invalid_urls, 'found invalid URLs in :help docs')
+ 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 < 350, '<350 parse errors', rv.err_count)
+ ok(rv.err_count < 250, '<250 parse errors', rv.err_count)
end)
it('gen_help_html.lua generates HTML', function()
@@ -44,7 +44,7 @@ describe(':help docs', function()
tmpdir
)
eq(4, #rv.helpfiles)
- ok(rv.err_count < 25, '<25 parse errors', rv.err_count)
- eq({}, rv.invalid_links, 'found invalid :help tag links')
+ eq(0, rv.err_count, 'parse errors in :help docs')
+ eq({}, rv.invalid_links, 'invalid tags in :help docs')
end)
end)