From 4f6df65f02b23077b9f146a11af08b9066a707ca Mon Sep 17 00:00:00 2001 From: erw7 Date: Wed, 28 Aug 2019 14:19:06 +0900 Subject: Change test because maparg was changed to also return lnum --- test/functional/api/keymap_spec.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/functional/api/keymap_spec.lua') diff --git a/test/functional/api/keymap_spec.lua b/test/functional/api/keymap_spec.lua index 73c55a342c..fee787162e 100644 --- a/test/functional/api/keymap_spec.lua +++ b/test/functional/api/keymap_spec.lua @@ -29,6 +29,7 @@ describe('nvim_get_keymap', function() nowait=0, mode='n', noremap=1, + lnum=0, } it('returns empty list when no map', function() @@ -250,6 +251,7 @@ describe('nvim_get_keymap', function() buffer=0, nowait=0, noremap=1, + lnum=0, } local function cpomap(lhs, rhs, mode) local ret = shallowcopy(cpo_table) @@ -306,6 +308,7 @@ describe('nvim_get_keymap', function() buffer=0, nowait=0, noremap=1, + lnum=0, } command('nnoremap \\| \\| ') eq({space_table}, meths.get_keymap('n')) @@ -345,6 +348,7 @@ describe('nvim_set_keymap, nvim_del_keymap', function() to_return.expr = not opts.expr and 0 or 1 to_return.sid = not opts.sid and 0 or opts.sid to_return.buffer = not opts.buffer and 0 or opts.buffer + to_return.lnum = not opts.lnum and 0 or opts.lnum return to_return end -- cgit