]> granicus.if.org Git - vim/commitdiff
patch 8.1.1253: mapping completion test fails v8.1.1253
authorBram Moolenaar <Bram@vim.org>
Fri, 3 May 2019 14:49:25 +0000 (16:49 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 3 May 2019 14:49:25 +0000 (16:49 +0200)
Problem:    Mapping completion test fails.
Solution:   Fix expected output.

src/testdir/test_cmdline.vim
src/version.c

index a8222603f8e36bb3eaa6a75458d6798f1dd1ee14..30a211214c120ac4a4d2529575293a20ba27f01d 100644 (file)
@@ -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+=<
index aa0d1e6ba535bf4fb75ccaf3d653f464de607c88..c166346e6b7ad1361f6e4e22b84d17db4dcdba17 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1253,
 /**/
     1252,
 /**/