Skip to content
Snippets Groups Projects
Commit 00ec6854 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Avoid that running tests changes viminfo.

parent 95e8579e
No related branches found
Tags v7.0.228
No related merge requests found
...@@ -4,7 +4,7 @@ Test for joining lines and marks in them ...@@ -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 ...@@ -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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment