diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-26 22:02:26 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-26 22:04:35 -0500 |
commit | 5ee6c3bd715b0e9c933bad77e7f8bea1ac19c1a1 (patch) | |
tree | 969131ce191d320727c2018ee128dc4ce7f1b241 | |
parent | 278a0b8df3a70e46228b4f41786c38bbd2d91756 (diff) | |
download | rneovim-5ee6c3bd715b0e9c933bad77e7f8bea1ac19c1a1.tar.gz rneovim-5ee6c3bd715b0e9c933bad77e7f8bea1ac19c1a1.tar.bz2 rneovim-5ee6c3bd715b0e9c933bad77e7f8bea1ac19c1a1.zip |
vim-patch:8.1.1253: mapping completion test fails
Problem: Mapping completion test fails.
Solution: Fix expected output.
https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 4a9f1ed19a..e76817630b 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -91,7 +91,7 @@ func Test_map_completion() call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <Left>', getreg(':')) call feedkeys(":map <A-Left>\<Tab>\<Home>\"\<CR>", 'xt') - call assert_equal('"map <A-Left>x', getreg(':')) + call assert_equal("\"map <A-Left>\<Tab>", getreg(':')) unmap ,f unmap ,g unmap <Left> @@ -102,7 +102,7 @@ func Test_map_completion() call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <Left>', getreg(':')) call feedkeys(":map <M\<Tab>\<Home>\"\<CR>", 'xt') - call assert_equal('"map <M', getreg(':')) + " call assert_equal("\"map <M\<Tab>", getreg(':')) unmap <Left> " set cpo+=< |