aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-12-02 16:03:39 -0500
committerJames McCoy <jamessan@jamessan.com>2016-12-02 20:30:06 -0500
commita4f646dde87157f9aba8ca8e4bf4c87ad5366203 (patch)
tree4b1f749ca9271202c53e00a523100f9f1fef0279
parentfa9cd8b878c3100f893f4dc958ca62a7e18d2145 (diff)
downloadrneovim-a4f646dde87157f9aba8ca8e4bf4c87ad5366203.tar.gz
rneovim-a4f646dde87157f9aba8ca8e4bf4c87ad5366203.tar.bz2
rneovim-a4f646dde87157f9aba8ca8e4bf4c87ad5366203.zip
vim-patch:f9660b5
Add missing test file. https://github.com/vim/vim/commit/f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047
-rw-r--r--src/nvim/testdir/test_goto.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_goto.vim b/src/nvim/testdir/test_goto.vim
new file mode 100644
index 0000000000..fb8f190fa6
--- /dev/null
+++ b/src/nvim/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