mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
Add missing test file.
This commit is contained in:
10
src/testdir/test_goto.vim
Normal file
10
src/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