0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

updated for version 7.3.247

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.
This commit is contained in:
Bram Moolenaar
2011-07-15 13:33:21 +02:00
parent 19fd09a78f
commit 37a02ca1c2
3 changed files with 8 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ blocks.
STARTTEST STARTTEST
:so small.vim :so small.vim
:set nocp fileformat=unix undolevels=-1 :set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
:e! Xtest :e! Xtest
ggdG ggdG
:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789" :let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"

View File

@@ -1,10 +1,12 @@
Test for t movement command and 'cpo-;' setting Test for t movement command and 'cpo-;' setting
STARTTEST STARTTEST
:set nocompatible :set nocompatible viminfo+=nviminfo
:set cpo-=; :set cpo-=;
/firstline/ /firstline/
j0tt;D j0tt;D
0fz;D
$Fy;D
$Ty;D:set cpo+=; $Ty;D:set cpo+=;
j0tt;;D j0tt;;D
$Ty;;D:?firstline?+1,$w! test.out $Ty;;D:?firstline?+1,$w! test.out
@@ -13,6 +15,8 @@ ENDTEST
firstline firstline
aaa two three four aaa two three four
zzz
yyy
bbb yee yoo four bbb yee yoo four
ccc two three four ccc two three four
ddd yee yoo four ddd yee yoo four

View File

@@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
247,
/**/ /**/
246, 246,
/**/ /**/