mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 04:23:46 -05:00
Fix test to edit the correct file.
This commit is contained in:
@@ -2,5 +2,5 @@ source helper.vim
|
|||||||
|
|
||||||
let tmpfile = tempname()
|
let tmpfile = tempname()
|
||||||
call system('touch '.tmpfile)
|
call system('touch '.tmpfile)
|
||||||
edit tmpfile
|
execute 'edit '.tmpfile
|
||||||
call DumpSigns('untrackedFileOutsideRepo')
|
call DumpSigns('untrackedFileOutsideRepo')
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ source helper.vim
|
|||||||
|
|
||||||
let tmpfile = 'untrackedFileWithinRepo.tmp'
|
let tmpfile = 'untrackedFileWithinRepo.tmp'
|
||||||
call system('touch '.tmpfile)
|
call system('touch '.tmpfile)
|
||||||
edit tmpfile
|
execute 'edit '.tmpfile
|
||||||
call DumpSigns('untrackedFileWithinRepo')
|
call DumpSigns('untrackedFileWithinRepo')
|
||||||
|
|
||||||
call system('rm '.tmpfile)
|
call system('rm '.tmpfile)
|
||||||
|
|||||||
Reference in New Issue
Block a user