Problem: Running tests changes the users viminfo file. Test for patch
7.3.245 missing.
Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
STARTTEST
:so small.vim
-:set nocp fileformat=unix undolevels=-1
+:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
:e! Xtest
ggdG
:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"
Test for t movement command and 'cpo-;' setting
STARTTEST
-:set nocompatible
+:set nocompatible viminfo+=nviminfo
:set cpo-=;
/firstline/
j0tt;D
+0fz;D
+$Fy;D
$Ty;D:set cpo+=;
j0tt;;D
$Ty;;D:?firstline?+1,$w! test.out
firstline
aaa two three four
+ zzz
+yyy
bbb yee yoo four
ccc two three four
ddd yee yoo four
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 247,
/**/
246,
/**/