commit | f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 16 22:19:15 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 16 22:19:15 2016 +0200 |
tree | 704e62e09c007c0aff6c86fef0536755b2a5b7ad | |
parent | 1538fc34fae3fae39773ca43f6ff52401fce61d8 [diff] [blame] |
Add missing test file.
diff --git a/src/testdir/test_goto.vim b/src/testdir/test_goto.vim new file mode 100644 index 0000000..fb8f190 --- /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