mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 12:33:47 -05:00
Ensure inline test functions can be redefined
This commit is contained in:
@@ -770,7 +770,7 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
function Test_overlapping_hunk_op()
|
function Test_overlapping_hunk_op()
|
||||||
func Answer(char)
|
func! Answer(char)
|
||||||
call feedkeys(a:char."\<CR>")
|
call feedkeys(a:char."\<CR>")
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
@@ -1188,7 +1188,7 @@ function Test_clean_smudge_filter()
|
|||||||
call system("git config --local include.path ../.gitconfig")
|
call system("git config --local include.path ../.gitconfig")
|
||||||
call system("rm fixture.foo && git checkout fixture.foo")
|
call system("rm fixture.foo && git checkout fixture.foo")
|
||||||
|
|
||||||
func Answer(char)
|
func! Answer(char)
|
||||||
call feedkeys(a:char."\<CR>")
|
call feedkeys(a:char."\<CR>")
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user