Avoid that running tests changes viminfo.
This commit is contained in:
@ -4,7 +4,7 @@ Test for joining lines and marks in them
|
|||||||
and with 'cpoptions' flag 'j' set or not
|
and with 'cpoptions' flag 'j' set or not
|
||||||
|
|
||||||
STARTTEST
|
STARTTEST
|
||||||
:set nocompatible
|
:set nocompatible viminfo+=nviminfo
|
||||||
:set nojoinspaces
|
:set nojoinspaces
|
||||||
:set cpoptions-=j
|
:set cpoptions-=j
|
||||||
/firstline/
|
/firstline/
|
||||||
|
|||||||
@ -6,7 +6,8 @@ STARTTEST
|
|||||||
:so small.vim
|
:so small.vim
|
||||||
:"
|
:"
|
||||||
:" Test 'undofile': first a simple one-line change.
|
:" Test 'undofile': first a simple one-line change.
|
||||||
:set nocp ul=100 undofile nomore
|
:set nocompatible viminfo+=nviminfo
|
||||||
|
:set ul=100 undofile nomore
|
||||||
:e! Xtestfile
|
:e! Xtestfile
|
||||||
ggdGithis is one line:set ul=100
|
ggdGithis is one line:set ul=100
|
||||||
:s/one/ONE/
|
:s/one/ONE/
|
||||||
|
|||||||
Reference in New Issue
Block a user