Avoid that running tests changes viminfo.

This commit is contained in:
Bram Moolenaar
2010-08-01 15:47:03 +02:00
parent 95e8579e1c
commit 00ec6854e3
2 changed files with 3 additions and 2 deletions

View File

@ -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/

View File

@ -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/