Bram Moolenaar | f9660b5 | 2016-04-16 22:19:15 +0200 | [diff] [blame] | 1 | " Test commands that jump somewhere. |
2 | |||||
3 | func Test_geedee() | ||||
4 | new | ||||
5 | call setline(1, ["Filename x;", "", "int Filename", "int func() {", "Filename y;"]) | ||||
6 | /y;/ | ||||
7 | normal gD | ||||
8 | call assert_equal(1, line('.')) | ||||
9 | quit! | ||||
10 | endfunc |