]> granicus.if.org Git - vim/commitdiff
patch 8.1.0335: mkview test fails on CI v8.1.0335
authorBram Moolenaar <Bram@vim.org>
Thu, 30 Aug 2018 12:04:25 +0000 (14:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 Aug 2018 12:04:25 +0000 (14:04 +0200)
Problem:    mkview test fails on CI.
Solution:   Attempt to force recomputing curswant after folding.

src/testdir/test_mksession.vim
src/version.c

index ed8b10fa03461c79c4910dc2a19459666a6d48e4..426afac925cff196206de25989345a6274d7ad86 100644 (file)
@@ -320,7 +320,7 @@ func Test_mkview_file()
   " Create a view with line number and a fold.
   help :mkview
   set number
-  norm! V}zf
+  norm! V}zf0
   let pos = getcurpos()
   let linefoldclosed1 = foldclosed('.')
   mkview! Xview
index db1f8e2c811a4d817cb4a6631679e6d059802b24..b5cfc673a444f51e3881f3d50fb62811098d25da 100644 (file)
@@ -794,6 +794,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    335,
 /**/
     334,
 /**/