]> granicus.if.org Git - vim/commitdiff
Avoid that running tests changes viminfo.
authorBram Moolenaar <Bram@vim.org>
Sun, 1 Aug 2010 13:47:03 +0000 (15:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 1 Aug 2010 13:47:03 +0000 (15:47 +0200)
src/testdir/test29.in
src/testdir/test72.in

index 829961c4de5200f759c202f065d59746f7cdb281..6c7d3d53952a0cefafa3ba88179fe0d7c3bdbcdb 100644 (file)
@@ -4,7 +4,7 @@ Test for joining lines and marks in them
  and with 'cpoptions' flag 'j' set or not
 
 STARTTEST
-:set nocompatible
+:set nocompatible viminfo+=nviminfo
 :set nojoinspaces
 :set cpoptions-=j
 /firstline/
index 07d362facf0c57339525ad05e5eeb0969494028c..a38bd16acefd60e6b5a65b2b1c8539075ff67dcc 100644 (file)
@@ -6,7 +6,8 @@ STARTTEST
 :so small.vim
 :"
 :" 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
 ggdGithis is one line\e:set ul=100
 :s/one/ONE/