Skip to content

Commit 819b9ca

Browse files
committed
Add missing test files from 7.4.634 to the repository.
1 parent 59d021e commit 819b9ca

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/testdir/test_marks.in

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Tests for marks.
2+
3+
STARTTEST
4+
:so small.vim
5+
:" test that a deleted mark is restored after delete-undo-redo-undo
6+
:/^\t/+1
7+
:set nocp viminfo+=nviminfo
8+
madduu
9+
:let a = string(getpos("'a"))
10+
:$put ='Mark after delete-undo-redo-undo: '.a
11+
:/^\t/,$wq! test.out
12+
ENDTEST
13+
14+
textline A
15+
textline B
16+
textline C
17+
18+
Results:

src/testdir/test_marks.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
textline A
2+
textline B
3+
textline C
4+
5+
Results:
6+
Mark after delete-undo-redo-undo: [0, 15, 2, 0]

0 commit comments

Comments
 (0)