1
0
forked from aniani/vim
Files
vim/src/testdir/test_goto.vim

11 lines
218 B
VimL
Raw Normal View History

2016-04-16 22:19:15 +02:00
" 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