Fix test to edit the correct file.

This commit is contained in:
Andy Stewart
2016-04-22 11:45:40 +01:00
parent 035ea9260c
commit 65025c9f31
2 changed files with 2 additions and 2 deletions

View File

@@ -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')

View File

@@ -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)