mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Add missing test file.
This commit is contained in:
parent
1538fc34fa
commit
f9660b59b2
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
|
Loading…
x
Reference in New Issue
Block a user