]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Add missing test files from 7.4.634 to the repository.
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Feb 2015 14:47:46 +0000 (15:47 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Feb 2015 14:47:46 +0000 (15:47 +0100)
src/testdir/test_marks.in [new file with mode: 0644]
src/testdir/test_marks.ok [new file with mode: 0644]

diff --git a/src/testdir/test_marks.in b/src/testdir/test_marks.in
new file mode 100644 (file)
index 0000000..341f3ac
--- /dev/null
@@ -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
+maddu\12u
+: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:
diff --git a/src/testdir/test_marks.ok b/src/testdir/test_marks.ok
new file mode 100644 (file)
index 0000000..dd1a3e4
--- /dev/null
@@ -0,0 +1,6 @@
+       textline A
+       textline B
+       textline C
+
+Results:
+Mark after delete-undo-redo-undo: [0, 15, 2, 0]