mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
add tests in buffer_updates
This commit is contained in:
parent
7ff7ca56dd
commit
a15c2cbab6
@ -401,8 +401,8 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
|||||||
}
|
}
|
||||||
feed '<cr>'
|
feed '<cr>'
|
||||||
check_events {
|
check_events {
|
||||||
{ "test1", "bytes", 1, 4, 8, 0, 115, 0, 4, 4, 0, 0, 0 };
|
{ "test1", "bytes", 1, 4, 7, 0, 114, 0, 4, 4, 0, 0, 0 };
|
||||||
{ "test1", "bytes", 1, 5, 7, 4, 118, 0, 0, 0, 1, 4, 5 };
|
{ "test1", "bytes", 1, 5, 7, 0, 114, 0, 0, 0, 1, 4, 5 };
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@ -447,8 +447,8 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
|||||||
|
|
||||||
feed '<CR>'
|
feed '<CR>'
|
||||||
check_events {
|
check_events {
|
||||||
{ "test1", "bytes", 1, 6, 2, 2, 16, 0, 1, 1, 0, 0, 0 };
|
{ "test1", "bytes", 1, 6, 1, 2, 13, 0, 1, 1, 0, 0, 0 };
|
||||||
{ "test1", "bytes", 1, 7, 1, 3, 14, 0, 0, 0, 1, 3, 4 };
|
{ "test1", "bytes", 1, 7, 1, 2, 13, 0, 0, 0, 1, 3, 4 };
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user