]> granicus.if.org Git - vim/commitdiff
patch 8.2.3497: put test fails when run by itself v8.2.3497
authorDominique Pelle <dominique.pelle@gmail.com>
Mon, 11 Oct 2021 19:26:55 +0000 (20:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 11 Oct 2021 19:26:55 +0000 (20:26 +0100)
Problem:    Put test fails when run by itself.
Solution:   Source check.vim. (Dominique PellĂ©, closes #8990)

src/testdir/test_put.vim
src/version.c

index a53e3cdca3bbd6cbf214d10cfff6f5bbd3bdc149..4e3294679cb7d7730501056247152eb7938fa37e 100644 (file)
@@ -1,5 +1,7 @@
 " Tests for put commands, e.g. ":put", "p", "gp", "P", "gP", etc.
 
+source check.vim
+
 func Test_put_block()
   new
   call feedkeys("i\<C-V>u2500\<CR>x\<ESC>", 'x')
index 8a97806c6f63e4c09430e8b5fc8f6c8c1c04e7d4..c360692f2c2b29b91f0b65687ba7c254a2b7ef8a 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3497,
 /**/
     3496,
 /**/