summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-16 22:19:15 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-16 22:19:15 +0200
commitf9660b59b2bdaa3ec2e7b31ab52186ad8b99f047 (patch)
tree704e62e09c007c0aff6c86fef0536755b2a5b7ad
parent1538fc34fae3fae39773ca43f6ff52401fce61d8 (diff)
downloadvim-f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047.zip
Add missing test file.
-rw-r--r--src/testdir/test_goto.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_goto.vim b/src/testdir/test_goto.vim
new file mode 100644
index 000000000..fb8f190fa
--- /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