aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-12-03 18:09:42 +0100
committerGitHub <noreply@github.com>2016-12-03 18:09:42 +0100
commite29a4ceede086bcf5e6242b75fe8f38c30cf3945 (patch)
tree2d9e9a58595ede63af66b29c20c578850187ac5a /src/nvim/testdir
parent3607e0b8ff772683668127b92a841a57f8412ebc (diff)
parentd9dffeb4868c2c036663faa142f1ed7b1d51400a (diff)
downloadrneovim-e29a4ceede086bcf5e6242b75fe8f38c30cf3945.tar.gz
rneovim-e29a4ceede086bcf5e6242b75fe8f38c30cf3945.tar.bz2
rneovim-e29a4ceede086bcf5e6242b75fe8f38c30cf3945.zip
Merge #5704 from jamessan/vim-7.4.1748
vim-patch:7.4.1748 vim-patch:f9660b5
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_alot.vim1
-rw-r--r--src/nvim/testdir/test_goto.vim10
2 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim
index 083f57aec1..c9d7b332e4 100644
--- a/src/nvim/testdir/test_alot.vim
+++ b/src/nvim/testdir/test_alot.vim
@@ -8,6 +8,7 @@ source test_ex_undo.vim
source test_expr.vim
source test_expr_utf8.vim
source test_feedkeys.vim
+source test_goto.vim
source test_menu.vim
source test_messages.vim
source test_options.vim
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