test(lsp-selection): of by one

The test uses the position col=5,row=5; but such a position
is outside of the buffer.

Presume that it was meant to be col=5,row=4...
This commit is contained in:
altermo
2026-08-01 18:03:15 +02:00
parent e02755cd9f
commit fe8e6a7efa

View File

@@ -48,7 +48,7 @@ describe('vim.lsp.selection_range', function()
parent = {
range = {
start = { line = 0, character = 0 },
['end'] = { line = 5, character = 5 },
['end'] = { line = 4, character = 5 },
},
parent = nil,
},