diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-05-13 05:00:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-13 05:00:39 -0700 |
| commit | e3ec974324bd73b63f54503480a4e48d1887f8d9 (patch) | |
| tree | 077a3b8e7ba869de0b3d1ac6d4bb9407e94f899b /test/functional/plugin | |
| parent | b6fdde5224250ec5dc3d5dcfec32d62a887173ff (diff) | |
| download | rneovim-e3ec974324bd73b63f54503480a4e48d1887f8d9.tar.gz rneovim-e3ec974324bd73b63f54503480a4e48d1887f8d9.tar.bz2 rneovim-e3ec974324bd73b63f54503480a4e48d1887f8d9.zip | |
refactor(lua): remove deprecated features #28725
Diffstat (limited to 'test/functional/plugin')
| -rw-r--r-- | test/functional/plugin/lsp/inlay_hint_spec.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/functional/plugin/lsp/inlay_hint_spec.lua b/test/functional/plugin/lsp/inlay_hint_spec.lua index 4a8d9669c5..3d0fcc31ff 100644 --- a/test/functional/plugin/lsp/inlay_hint_spec.lua +++ b/test/functional/plugin/lsp/inlay_hint_spec.lua @@ -126,14 +126,12 @@ describe('vim.lsp.inlay_hint', function() t.pcall_err(exec_lua, [[vim.lsp.inlay_hint.enable({}, { bufnr = bufnr })]]) ) t.matches( - 'filter: expected table, got number', - t.pcall_err(exec_lua, [[vim.lsp.inlay_hint.enable(true, 42)]]) + 'enable: expected boolean, got number', + t.pcall_err(exec_lua, [[vim.lsp.inlay_hint.enable(42)]]) ) - - exec_lua [[vim.notify = function() end]] t.matches( - 'see %:help vim%.lsp%.inlay_hint%.enable', - t.pcall_err(exec_lua, [[vim.lsp.inlay_hint.enable(42)]]) + 'filter: expected table, got number', + t.pcall_err(exec_lua, [[vim.lsp.inlay_hint.enable(true, 42)]]) ) end) |