changeset 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 675bf614934c
children 3b619b3452f1
files src/testdir/test_cmdline.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
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+=<
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1253,
+/**/
     1252,
 /**/
     1251,