Skip to content

Commit a479e25

Browse files
committed
Update test to handle nvim nightly diagnostic output change
neovim/neovim#34014 added a _extmark_id property
1 parent a96e922 commit a479e25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/integration_spec.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ describe('dap with fake server', function()
136136
}
137137
end)
138138
local diagnostics = vim.diagnostic.get(buf)
139+
for _, d in ipairs(diagnostics) do
140+
d._extmark_id = nil
141+
end
139142
local expected = {
140143
{
141144
bufnr = buf,

0 commit comments

Comments
 (0)