aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-05-11 11:34:09 -0400
committerGitHub <noreply@github.com>2026-05-11 11:34:09 -0400
commit11084f5db38267f23f5aa2abb784d56c0c6d310e (patch)
tree2274c5c0390fb4095cf279950d827c1527de7471 /test/functional/lua/vim_spec.lua
parent8275b7b4918bc10a34298e7eed68cd86e1f660f7 (diff)
parent9e5982f0716b889b0be8ce7ef4d9230771bfd6e7 (diff)
downloadrneovim-11084f5db38267f23f5aa2abb784d56c0c6d310e.tar.gz
rneovim-11084f5db38267f23f5aa2abb784d56c0c6d310e.tar.bz2
rneovim-11084f5db38267f23f5aa2abb784d56c0c6d310e.zip
Merge #39730 from ofseed/lsp-remove-deprecated
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
-rw-r--r--test/functional/lua/vim_spec.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua
index bf2e5e7cea..2734adba84 100644
--- a/test/functional/lua/vim_spec.lua
+++ b/test/functional/lua/vim_spec.lua
@@ -1315,29 +1315,6 @@ describe('lua stdlib', function()
eq({ 2 }, exec_lua [[ return vim.list_extend({}, {2;a=1}, -1, 2) ]])
end)
- it('vim.tbl_add_reverse_lookup', function()
- eq(
- true,
- exec_lua [[
- local a = { A = 1 }
- vim.tbl_add_reverse_lookup(a)
- return vim.deep_equal(a, { A = 1; [1] = 'A'; })
- ]]
- )
- -- Throw an error for trying to do it twice (run into an existing key)
- local code = [[
- local res = {}
- local a = { A = 1 }
- vim.tbl_add_reverse_lookup(a)
- assert(vim.deep_equal(a, { A = 1; [1] = 'A'; }))
- vim.tbl_add_reverse_lookup(a)
- ]]
- matches(
- 'The reverse lookup found an existing value for "[1A]" while processing key "[1A]"$',
- pcall_err(exec_lua, code)
- )
- end)
-
it('vim.spairs', function()
local res = ''
local table = {