]> granicus.if.org Git - vim/commitdiff
patch 7.4.694 v7.4.694
authorBram Moolenaar <Bram@vim.org>
Mon, 13 Apr 2015 10:58:12 +0000 (12:58 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Apr 2015 10:58:12 +0000 (12:58 +0200)
Problem:    Running tests changes the .viminfo file.
Solution:   Disable viminfo in the text objects test.

src/testdir/test_textobjects.in
src/version.c

index d1cdafcd044d0124671c828175c815691663dd03..dc48efc67ac3b959b26d5d492db8b4f18f588342 100644 (file)
@@ -3,7 +3,7 @@ Tests for text-objects     vim: set ft=vim :
 STARTTEST
 :so small.vim
 :if !has('textobjects') | e! test.ok | wq! test.out | endif
-:set nocompatible
+:set nocp viminfo+=nviminfo
 :"
 :function SelectionOut(data)
 :  new
index 9431180b11bc680efff1c58f1b5b4e5771af90eb..5601c0144931b1a226c5e75e4f68e55ac09656d1 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    694,
 /**/
     693,
 /**/