Mercurial > vim
diff src/testdir/test_cmdline.vim @ 16499:0f0de1fb70a2 v8.1.1253
patch 8.1.1253: mapping completion test fails
commit https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 3 16:49:25 2019 +0200
patch 8.1.1253: mapping completion test fails
Problem: Mapping completion test fails.
Solution: Fix expected output.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 May 2019 17:00:06 +0200 |
parents | ac4e38fbae9d |
children | 5273b506b050 |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/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+=<