1
0
forked from aniani/vim

Add missing test files from 7.4.634 to the repository.

This commit is contained in:
Bram Moolenaar
2015-02-17 15:47:46 +01:00
parent 4653911950
commit 35e7594dd4
2 changed files with 24 additions and 0 deletions

18
src/testdir/test_marks.in Normal file
View File

@@ -0,0 +1,18 @@
Tests for marks.
STARTTEST
:so small.vim
:" test that a deleted mark is restored after delete-undo-redo-undo
:/^\t/+1
:set nocp viminfo+=nviminfo
madduu
:let a = string(getpos("'a"))
:$put ='Mark after delete-undo-redo-undo: '.a
:/^\t/,$wq! test.out
ENDTEST
textline A
textline B
textline C
Results:

View File

@@ -0,0 +1,6 @@
textline A
textline B
textline C
Results:
Mark after delete-undo-redo-undo: [0, 15, 2, 0]