From 422e4caf79969dcb3377f2176d2d1a6c56425600 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Thu, 15 Jun 2023 14:52:52 +0100 Subject: [PATCH] Ensure inline test functions can be redefined --- test/test_gitgutter.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_gitgutter.vim b/test/test_gitgutter.vim index e5a7b09..0ed5924 100644 --- a/test/test_gitgutter.vim +++ b/test/test_gitgutter.vim @@ -770,7 +770,7 @@ endfunction function Test_overlapping_hunk_op() - func Answer(char) + func! Answer(char) call feedkeys(a:char."\") endfunc @@ -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."\") endfunc