[vim] 63/139: Add missing test file.
James McCoy
jamessan at debian.org
Fri May 6 04:00:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047
Author: Bram Moolenaar <Bram at vim.org>
Date: Sat Apr 16 22:19:15 2016 +0200
Add missing test file.
---
src/testdir/test_goto.vim | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/testdir/test_goto.vim b/src/testdir/test_goto.vim
new file mode 100644
index 0000000..fb8f190
--- /dev/null
+++ b/src/testdir/test_goto.vim
@@ -0,0 +1,10 @@
+" Test commands that jump somewhere.
+
+func Test_geedee()
+ new
+ call setline(1, ["Filename x;", "", "int Filename", "int func() {", "Filename y;"])
+ /y;/
+ normal gD
+ call assert_equal(1, line('.'))
+ quit!
+endfunc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list