diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-16 22:19:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-16 22:19:15 +0200 |
commit | f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047 (patch) | |
tree | 704e62e09c007c0aff6c86fef0536755b2a5b7ad /src/testdir/test_goto.vim | |
parent | 1538fc34fae3fae39773ca43f6ff52401fce61d8 (diff) | |
download | vim-git-f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047.tar.gz |
Add missing test file.
Diffstat (limited to 'src/testdir/test_goto.vim')
-rw-r--r-- | src/testdir/test_goto.vim | 10 |
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 |