aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_goto.vim
blob: fb8f190fa6f790e417a659debbe9147bce7d071a (plain) (blame)
1
2
3
4
5
6
7
8
9
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