changeset 8925:f0d7dfb136bc

commit https://github.com/vim/vim/commit/f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 16 22:19:15 2016 +0200 Add missing test file.
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Apr 2016 22:30:05 +0200
parents 1c174f5abd07
children fc69eed19ba7
files src/testdir/test_goto.vim
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /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