Skip to content

Commit

Permalink
Ensure inline test functions can be redefined
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Jun 16, 2023
1 parent f46652d commit 422e4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ endfunction


function Test_overlapping_hunk_op()
func Answer(char)
func! Answer(char)
call feedkeys(a:char."\<CR>")
endfunc

Expand Down Expand Up @@ -1188,7 +1188,7 @@ function Test_clean_smudge_filter()
call system("git config --local include.path ../.gitconfig")
call system("rm fixture.foo && git checkout fixture.foo")

func Answer(char)
func! Answer(char)
call feedkeys(a:char."\<CR>")
endfunc

Expand Down

0 comments on commit 422e4ca

Please sign in to comment.