]> granicus.if.org Git - vim/commitdiff
Add missing test file.
authorBram Moolenaar <Bram@vim.org>
Sat, 16 Apr 2016 20:19:15 +0000 (22:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 16 Apr 2016 20:19:15 +0000 (22:19 +0200)
src/testdir/test_goto.vim [new file with mode: 0644]

diff --git a/src/testdir/test_goto.vim b/src/testdir/test_goto.vim
new file mode 100644 (file)
index 0000000..fb8f190
--- /dev/null
@@ -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