fix the go syntax cleanup of .test files

This commit is contained in:
Fredrik Enestad 2018-04-25 13:39:10 +02:00
parent d31e270cc8
commit aae092c25d

View File

@ -88,7 +88,7 @@ function! SyntaxCheckers_go_go_GetLocList() dict
\ 'defaults': {'type': 'e'} })
if cleanup
call delete(fnamemodify(bufname(buf), ':p:h') . syntastic#util#Slash() . fnamemodify(bufname(buf), ':p:h') . '.test')
call delete(fnamemodify(bufname(buf), ':p:h') . syntastic#util#Slash() . fnamemodify(bufname(buf), ':p:h:t') . '.test')
endif
return errors