diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-25 09:17:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 09:17:47 -0700 |
commit | 5ceb2238d3685255cd517ca87fd7edae9ed88811 (patch) | |
tree | 5972cd240cb18d50a7d56b3b5e0c1019c947e07a /test | |
parent | e59cf3b3a9ee0f9e9b4d2e01059dbdf185eb5685 (diff) | |
parent | 49a7585981cdf7403e76a614558e602a98e64301 (diff) | |
download | rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.gz rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.bz2 rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.zip |
Merge #24116 from justinmk/doc
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/lua/help_spec.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua index cdc7761e48..8d843cd208 100644 --- a/test/functional/lua/help_spec.lua +++ b/test/functional/lua/help_spec.lua @@ -19,11 +19,12 @@ 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.parse_errors, 'no parse errors') + eq(0, rv.err_count, 'no parse errors') eq({}, rv.invalid_links, 'invalid tags in :help docs') eq({}, rv.invalid_urls, 'invalid URLs in :help docs') - eq({}, rv.invalid_spelling, 'invalid spelling in :help docs') - -- Check that parse errors did not increase. - ok(rv.err_count == 0, 'no parse errors', rv.err_count) + eq({}, rv.invalid_spelling, 'invalid spelling in :help docs (see spell_dict in scripts/gen_help_html.lua)') end) it('gen_help_html.lua generates HTML', function() |