diff options
author | erw7 <erw7.github@gmail.com> | 2019-08-28 14:19:06 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2019-09-04 13:40:04 +0900 |
commit | 4f6df65f02b23077b9f146a11af08b9066a707ca (patch) | |
tree | c008a62b8ba478f084e87260a235651635036b9f /test/functional/legacy/075_maparg_spec.lua | |
parent | a2e48b556b7537acd26353b6cc201410be7cf3dc (diff) | |
download | rneovim-4f6df65f02b23077b9f146a11af08b9066a707ca.tar.gz rneovim-4f6df65f02b23077b9f146a11af08b9066a707ca.tar.bz2 rneovim-4f6df65f02b23077b9f146a11af08b9066a707ca.zip |
Change test because maparg was changed to also return lnum
Diffstat (limited to 'test/functional/legacy/075_maparg_spec.lua')
-rw-r--r-- | test/functional/legacy/075_maparg_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/legacy/075_maparg_spec.lua b/test/functional/legacy/075_maparg_spec.lua index fcfd33ec46..0164f5077a 100644 --- a/test/functional/legacy/075_maparg_spec.lua +++ b/test/functional/legacy/075_maparg_spec.lua @@ -49,9 +49,9 @@ describe('maparg()', function() -- Assert buffer contents. expect([[ is<F4>foo - {'silent': 0, 'noremap': 0, 'lhs': 'foo<C-V>', 'mode': ' ', 'nowait': 0, 'expr': 0, 'sid': 0, 'rhs': 'is<F4>foo', 'buffer': 0} - {'silent': 1, 'noremap': 1, 'lhs': 'bar', 'mode': 'v', 'nowait': 0, 'expr': 1, 'sid': 0, 'rhs': 'isbar', 'buffer': 1} - {'silent': 0, 'noremap': 0, 'lhs': 'foo', 'mode': ' ', 'nowait': 1, 'expr': 0, 'sid': 0, 'rhs': 'bar', 'buffer': 1} + {'lnum': 0, 'silent': 0, 'noremap': 0, 'lhs': 'foo<C-V>', 'mode': ' ', 'nowait': 0, 'expr': 0, 'sid': 0, 'rhs': 'is<F4>foo', 'buffer': 0} + {'lnum': 0, 'silent': 1, 'noremap': 1, 'lhs': 'bar', 'mode': 'v', 'nowait': 0, 'expr': 1, 'sid': 0, 'rhs': 'isbar', 'buffer': 1} + {'lnum': 0, 'silent': 0, 'noremap': 0, 'lhs': 'foo', 'mode': ' ', 'nowait': 1, 'expr': 0, 'sid': 0, 'rhs': 'bar', 'buffer': 1} xrx yRy abcd]]) |