diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-04-24 20:38:00 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-05-23 22:07:27 +0200 |
commit | e7451f8a91e0a9452fc3c3627ac60dc80288252c (patch) | |
tree | df606b41f1cf56b8eeb05671ae8e9eb3f136601c /test/functional/api/buffer_updates_spec.lua | |
parent | de5d1e863c71c8da87422bdb94dc91749d4a8b61 (diff) | |
download | rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.tar.gz rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.tar.bz2 rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.zip |
Some renamings and doc changes
Diffstat (limited to 'test/functional/api/buffer_updates_spec.lua')
-rw-r--r-- | test/functional/api/buffer_updates_spec.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/functional/api/buffer_updates_spec.lua b/test/functional/api/buffer_updates_spec.lua index b30d0805bd..7659961e90 100644 --- a/test/functional/api/buffer_updates_spec.lua +++ b/test/functional/api/buffer_updates_spec.lua @@ -336,7 +336,7 @@ describe('liveupdate', function() tick = tick + 1 expectn('nvim_buf_update', {b, tick, 1, 2, {}}) tick = tick + 1 - expectn('nvim_buf_update_tick', {b, tick}) + expectn('nvim_buf_changedtick', {b, tick}) command('set autoindent') command('normal! >>') tick = tick + 1 @@ -354,7 +354,7 @@ describe('liveupdate', function() tick = tick + 1 expectn('nvim_buf_update', {b, tick, 1, 2, {}}) tick = tick + 1 - expectn('nvim_buf_update_tick', {b, tick}) + expectn('nvim_buf_changedtick', {b, tick}) command('normal! ggOmmm') tick = tick + 1 expectn('nvim_buf_update', {b, tick, 0, 0, {"\t"}}) @@ -374,7 +374,7 @@ describe('liveupdate', function() tick = tick + 1 expectn('nvim_buf_update', {b, tick, 0, 1, {'Line 1'}}) tick = tick + 1 - expectn('nvim_buf_update_tick', {b, tick}) + expectn('nvim_buf_changedtick', {b, tick}) -- change the file directly local f = io.open(filename, 'a') @@ -410,7 +410,7 @@ describe('liveupdate', function() tick1 = tick1 + 1 expectn('nvim_buf_update', {b1, tick1, 0, 1, {'A1'}}) tick1 = tick1 + 1 - expectn('nvim_buf_update_tick', {b1, tick1}) + expectn('nvim_buf_changedtick', {b1, tick1}) command('b'..b2nr) command('normal! x') @@ -420,7 +420,7 @@ describe('liveupdate', function() tick2 = tick2 + 1 expectn('nvim_buf_update', {b2, tick2, 0, 1, {'B1'}}) tick2 = tick2 + 1 - expectn('nvim_buf_update_tick', {b2, tick2}) + expectn('nvim_buf_changedtick', {b2, tick2}) command('b'..b3nr) command('normal! x') @@ -430,7 +430,7 @@ describe('liveupdate', function() tick3 = tick3 + 1 expectn('nvim_buf_update', {b3, tick3, 0, 1, {'C1'}}) tick3 = tick3 + 1 - expectn('nvim_buf_update_tick', {b3, tick3}) + expectn('nvim_buf_changedtick', {b3, tick3}) end) it('doesn\'t get confused when you turn watching on/off many times', @@ -512,8 +512,8 @@ describe('liveupdate', function() wantn(2, 'nvim_buf_update', {b, tick, 0, 1, {'AAA'}}) wantn(3, 'nvim_buf_update', {b, tick, 0, 1, {'AAA'}}) tick = tick + 1 - wantn(2, 'nvim_buf_update_tick', {b, tick}) - wantn(3, 'nvim_buf_update_tick', {b, tick}) + wantn(2, 'nvim_buf_changedtick', {b, tick}) + wantn(3, 'nvim_buf_changedtick', {b, tick}) -- make sure there are no other pending nvim_buf_update messages going to -- channel 1 @@ -665,7 +665,7 @@ describe('liveupdate', function() tick = tick + 1 expectn('nvim_buf_update', {b, tick, 0, 1, {'AAA'}}) tick = tick + 1 - expectn('nvim_buf_update_tick', {b, tick}) + expectn('nvim_buf_changedtick', {b, tick}) -- close our buffer by creating a new one command('enew') @@ -692,7 +692,7 @@ describe('liveupdate', function() tick = tick + 1 expectn('nvim_buf_update', {b, tick, 0, 1, {'AAA'}}) tick = tick + 1 - expectn('nvim_buf_update_tick', {b, tick}) + expectn('nvim_buf_changedtick', {b, tick}) -- close our buffer by creating a new one command('set hidden') |