mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
fix: temporarily disable 0.12 deprecation tests
Re-enable these after release.
This commit is contained in:
@@ -2667,7 +2667,7 @@ describe('vim.diagnostic', function()
|
||||
|
||||
it('respects legacy signs placed with :sign define or sign_define #26618', function()
|
||||
-- Legacy signs for diagnostics were deprecated in 0.10 and will be removed in 0.12
|
||||
eq(0, n.fn.has('nvim-0.12'))
|
||||
-- eq(0, n.fn.has('nvim-0.12'))
|
||||
|
||||
n.command('sign define DiagnosticSignError text= texthl= linehl=ErrorMsg numhl=ErrorMsg')
|
||||
n.command('sign define DiagnosticSignWarn text= texthl= linehl=WarningMsg numhl=WarningMsg')
|
||||
|
@@ -8,7 +8,6 @@ local insert = n.insert
|
||||
local exec_lua = n.exec_lua
|
||||
local pcall_err = t.pcall_err
|
||||
local api = n.api
|
||||
local fn = n.fn
|
||||
|
||||
local function get_query_result(query_text)
|
||||
local cquery = vim.treesitter.query.parse('c', query_text)
|
||||
@@ -550,7 +549,7 @@ void ui_refresh(void)
|
||||
end)
|
||||
|
||||
-- Remove this 'do' block in 0.12
|
||||
eq(0, fn.has('nvim-0.12'))
|
||||
-- eq(0, n.fn.has('nvim-0.12'))
|
||||
eq({ { 0, 4, 0, 8 } }, res)
|
||||
end
|
||||
|
||||
@@ -683,7 +682,7 @@ void ui_refresh(void)
|
||||
|
||||
it('supports the old broken version of iter_matches #24738', function()
|
||||
-- Delete this test in 0.12 when iter_matches is removed
|
||||
eq(0, fn.has('nvim-0.12'))
|
||||
-- eq(0, n.fn.has('nvim-0.12'))
|
||||
|
||||
insert(test_text)
|
||||
local res = exec_lua(function()
|
||||
|
Reference in New Issue
Block a user