mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
fa9cd8b878
commit
a4f646dde8
10
src/nvim/testdir/test_goto.vim
Normal file
10
src/nvim/testdir/test_goto.vim
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user