aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/api_spec.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-30 09:53:52 +0200
committerGitHub <noreply@github.com>2022-09-30 09:53:52 +0200
commitdf646572c53f55268a5dbb61628d7c3b302d5663 (patch)
tree2b4dc98b294e8faae446c21181d48c47a22b54aa /test/functional/lua/api_spec.lua
parent9cf252e12153aa8bf657631a8ed2b83888948fb0 (diff)
downloadrneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.gz
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.bz2
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.zip
docs: fix typos (#20394)
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'test/functional/lua/api_spec.lua')
-rw-r--r--test/functional/lua/api_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/api_spec.lua b/test/functional/lua/api_spec.lua
index f173a15d32..03832978a4 100644
--- a/test/functional/lua/api_spec.lua
+++ b/test/functional/lua/api_spec.lua
@@ -166,7 +166,7 @@ describe('luaeval(vim.api.…)', function()
eq({v={}}, funcs.luaeval('vim.api.nvim__id_dictionary({v={[vim.type_idx]=vim.types.array, [vim.val_idx]=10, [5]=1, foo=2}})'))
-- If API requests dictionary, then empty table will be the one. This is not
- -- the case normally because empty table is an empty arrray.
+ -- the case normally because empty table is an empty array.
eq({}, funcs.luaeval('vim.api.nvim__id_dictionary({})'))
eq(4, eval([[type(luaeval('vim.api.nvim__id_dictionary({})'))]]))
end)