diff options
| author | Björn Linse <bjorn.linse@gmail.com> | 2016-03-12 18:49:18 +0100 | 
|---|---|---|
| committer | Björn Linse <bjorn.linse@gmail.com> | 2016-04-01 11:29:51 +0200 | 
| commit | 8eb8ebf905e47c2e2354306e5abfc07e90e40e2b (patch) | |
| tree | 93f7552ac33af24a1f8d5d180be38fd28f16cf7e /test/functional/plugin/shada_spec.lua | |
| parent | f3645e422fd094a98628cb99011c04aa7c3ca3a3 (diff) | |
| download | rneovim-8eb8ebf905e47c2e2354306e5abfc07e90e40e2b.tar.gz rneovim-8eb8ebf905e47c2e2354306e5abfc07e90e40e2b.tar.bz2 rneovim-8eb8ebf905e47c2e2354306e5abfc07e90e40e2b.zip | |
tests: update tests to use [gs]et_lines instead of [gs]et_line_slice
Diffstat (limited to 'test/functional/plugin/shada_spec.lua')
| -rw-r--r-- | test/functional/plugin/shada_spec.lua | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/test/functional/plugin/shada_spec.lua b/test/functional/plugin/shada_spec.lua index 4100a30452..a3f617eeb0 100644 --- a/test/functional/plugin/shada_spec.lua +++ b/test/functional/plugin/shada_spec.lua @@ -2215,7 +2215,7 @@ describe('In plugin/shada.vim', function()    describe('event BufWriteCmd', function()      it('works', function()        nvim('set_var', 'shada#add_own_header', 0) -      curbuf('set_line_slice', 0, 0, true, true, { +      curbuf('set_lines', 0, 1, true, {          'Jump with timestamp ' .. epoch .. ':',          '  % Key________  Description  Value',          '  + n            name         \'A\'', @@ -2271,7 +2271,7 @@ describe('In plugin/shada.vim', function()    describe('event FileWriteCmd', function()      it('works', function()        nvim('set_var', 'shada#add_own_header', 0) -      curbuf('set_line_slice', 0, 0, true, true, { +      curbuf('set_lines', 0, 1, true, {          'Jump with timestamp ' .. epoch .. ':',          '  % Key________  Description  Value',          '  + n            name         \'A\'', @@ -2310,7 +2310,7 @@ describe('In plugin/shada.vim', function()    describe('event FileAppendCmd', function()      it('works', function()        nvim('set_var', 'shada#add_own_header', 0) -      curbuf('set_line_slice', 0, 0, true, true, { +      curbuf('set_lines', 0, 1, true, {          'Jump with timestamp ' .. epoch .. ':',          '  % Key________  Description  Value',          '  + n            name         \'A\'', @@ -2512,7 +2512,7 @@ describe('syntax/shada.vim', function()    it('works', function()      nvim_command('syntax on')      nvim_command('setlocal syntax=shada') -    curbuf('set_line_slice', 0, 0, true, true, { +    curbuf('set_lines', 0, 1, true, {        'Header with timestamp ' .. epoch .. ':',        '  % Key  Value',        '  + t    "test"', | 
