From: Bram Moolenaar Date: Sat, 16 Apr 2016 20:19:15 +0000 (+0200) Subject: Add missing test file. X-Git-Tag: v7.4.1749~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047;p=vim Add missing test file. --- 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