mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +00:00
@@ -3822,5 +3822,12 @@ describe('API', function()
|
||||
feed("[l")
|
||||
neq(nil, string.find(eval("v:errmsg"), "E5108:"))
|
||||
end)
|
||||
it('handles 0 range #19608', function()
|
||||
meths.buf_set_lines(0, 0, -1, false, { "aa" })
|
||||
meths.cmd({ cmd = 'delete', range = { 0 } }, {})
|
||||
command('undo')
|
||||
eq({'aa'}, meths.buf_get_lines(0, 0, 1, false))
|
||||
assert_alive()
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user