]> granicus.if.org Git - vim/commitdiff
patch 8.2.4452: test for what 8.2.4436 fixes does not check for regression v8.2.4452
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Feb 2022 10:52:41 +0000 (10:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Feb 2022 10:52:41 +0000 (10:52 +0000)
Problem:    Test for what 8.2.4436 fixes does not check for regression.
Solution:   Set several options. (Ken Takata, closes #9830)

src/testdir/test_vartabs.vim
src/version.c

index 74b07ba1462e5b2ca1d975939102303e972e241e..e15a072f72516dce2c672537d103442159284098 100644 (file)
@@ -446,11 +446,12 @@ func Test_vartabstop_latin1()
   let save_encoding = &encoding
   new
   set encoding=iso8859-1
-  silent exe "norm :se \<C-A>\<C-C>"
+  set compatible linebreak list revins smarttab
   set vartabstop=400
   exe "norm i00\t\<C-D>"
   bwipe!
   let &encoding = save_encoding
+  set nocompatible linebreak& list& revins& smarttab& vartabstop&
 endfunc
 
 
index 6f91b848dc0160888f16c5dff094ed392f054db7..1786ceb4ddc1f6331bf60dd490712ed66ae4a65e 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4452,
 /**/
     4451,
 /**/