diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-22 03:44:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 03:44:51 -0700 |
commit | 4e6356559c8cd44dbcaa765d1f39e176064526ec (patch) | |
tree | 84354e7d3c5a49b7edbc314da2e2b834d275d42c /test/functional/lua/help_spec.lua | |
parent | f4f1ce1d167c557e54153f74cf0f55245b8fd414 (diff) | |
download | rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.tar.gz rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.tar.bz2 rneovim-4e6356559c8cd44dbcaa765d1f39e176064526ec.zip |
test: spellcheck :help (vimdoc) files #24109
Enforce consistent terminology (defined in
`gen_help_html.lua:spell_dict`) for common misspellings.
This does not spellcheck English in general (perhaps a future TODO,
though it may be noisy).
Diffstat (limited to 'test/functional/lua/help_spec.lua')
-rw-r--r-- | test/functional/lua/help_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/lua/help_spec.lua b/test/functional/lua/help_spec.lua index d66d9f7fbe..cdc7761e48 100644 --- a/test/functional/lua/help_spec.lua +++ b/test/functional/lua/help_spec.lua @@ -21,6 +21,7 @@ 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') + 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) end) |