mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
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
|
Reference in New Issue
Block a user