comparison src/testdir/test_mksession.vim @ 14644:3d94bbf54530 v8.1.0335

patch 8.1.0335: mkview test fails on CI commit https://github.com/vim/vim/commit/2bf4fe07b651e2a72fcfbfdb0719b402ea0b0a10 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 30 14:04:25 2018 +0200 patch 8.1.0335: mkview test fails on CI Problem: mkview test fails on CI. Solution: Attempt to force recomputing curswant after folding.
author Christian Brabandt <cb@256bit.org>
date Thu, 30 Aug 2018 14:15:06 +0200
parents 22248c686b32
children aa48ee3d3d12
comparison
equal deleted inserted replaced
14643:86199aa38321 14644:3d94bbf54530
318 " Test :mkview with a file argument. 318 " Test :mkview with a file argument.
319 func Test_mkview_file() 319 func Test_mkview_file()
320 " Create a view with line number and a fold. 320 " Create a view with line number and a fold.
321 help :mkview 321 help :mkview
322 set number 322 set number
323 norm! V}zf 323 norm! V}zf0
324 let pos = getcurpos() 324 let pos = getcurpos()
325 let linefoldclosed1 = foldclosed('.') 325 let linefoldclosed1 = foldclosed('.')
326 mkview! Xview 326 mkview! Xview
327 set nonumber 327 set nonumber
328 norm! zrj 328 norm! zrj