0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1253: mapping completion test fails

Problem:    Mapping completion test fails.
Solution:   Fix expected output.
This commit is contained in:
Bram Moolenaar
2019-05-03 16:49:25 +02:00
parent 1776a28e9c
commit 92b9e60cb5
2 changed files with 4 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ func Test_map_completion()
call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt')
call assert_equal('"map <Left>', getreg(':')) call assert_equal('"map <Left>', getreg(':'))
call feedkeys(":map <A-Left>\<Tab>\<Home>\"\<CR>", 'xt') 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 ,f
unmap ,g unmap ,g
unmap <Left> unmap <Left>
@@ -102,7 +102,7 @@ func Test_map_completion()
call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt')
call assert_equal('"map <Left>', getreg(':')) call assert_equal('"map <Left>', getreg(':'))
call feedkeys(":map <M\<Tab>\<Home>\"\<CR>", 'xt') call feedkeys(":map <M\<Tab>\<Home>\"\<CR>", 'xt')
call assert_equal('"map <M', getreg(':')) call assert_equal("\"map <M\<Tab>", getreg(':'))
unmap <Left> unmap <Left>
set cpo+=< set cpo+=<

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1253,
/**/ /**/
1252, 1252,
/**/ /**/