diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-01 15:47:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-01 15:47:03 +0200 |
commit | 00ec6854e3263161bb790dbe6a3a7c4a4f1d02a9 (patch) | |
tree | 05bf0d517e0dfaa25987095a49458b40e04e3482 | |
parent | 95e8579e1c5b98b626a8d6a8c1ebafb8ead26a1e (diff) | |
download | vim-git-00ec6854e3263161bb790dbe6a3a7c4a4f1d02a9.tar.gz |
Avoid that running tests changes viminfo.
-rw-r--r-- | src/testdir/test29.in | 2 | ||||
-rw-r--r-- | src/testdir/test72.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/testdir/test29.in b/src/testdir/test29.in index 829961c4d..6c7d3d539 100644 --- a/src/testdir/test29.in +++ b/src/testdir/test29.in @@ -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/ diff --git a/src/testdir/test72.in b/src/testdir/test72.in index 07d362fac..a38bd16ac 100644 --- a/src/testdir/test72.in +++ b/src/testdir/test72.in @@ -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:set ul=100 :s/one/ONE/ |