diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-17 09:51:09 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-17 09:51:09 +0200 |
commit | aff64b3a52d3d897c5c88270c8e78ba3d02c52f7 (patch) | |
tree | c49fbfe8219d7e13e702ca881f9b869345e638d7 /test/functional/ui/inccommand_spec.lua | |
parent | 9642903dea68c614038b134a3806d31af032fe77 (diff) | |
parent | 9c2d5f1a33ccf3838899425ede481c6cdb00acb5 (diff) | |
download | rneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.tar.gz rneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.tar.bz2 rneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.zip |
Merge #9124 'vim-patch:8.0.1672'
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index 0983f6f399..736a314426 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -1539,7 +1539,7 @@ describe("'inccommand' and :cnoremap", function() end end) - it('does not work with a failing mapping', function() + it('still works with a broken mapping', function() for _, case in pairs(cases) do refresh(case) feed_command("cnoremap <expr> x execute('bwipeout!')[-1].'x'") @@ -1548,7 +1548,10 @@ describe("'inccommand' and :cnoremap", function() -- error thrown b/c of the mapping neq(nil, eval('v:errmsg'):find('^E523:')) - expect(default_text) + expect([[ + Inc substitution on + toxo lines + ]]) end end) |