mirror of
https://github.com/dense-analysis/ale
synced 2024-12-26 08:02:25 +00:00
17 lines
368 B
Plaintext
17 lines
368 B
Plaintext
Before:
|
|
runtime ale_linters/go/govet.vim
|
|
|
|
call ale#test#SetDirectory('/testplugin/test/command_callback')
|
|
|
|
After:
|
|
Restore
|
|
|
|
call ale#linter#Reset()
|
|
call ale#test#RestoreDirectory()
|
|
|
|
Execute(The default command should be correct):
|
|
AssertEqual
|
|
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
|
|
\ . ' go vet .',
|
|
\ ale_linters#go#govet#GetCommand(bufnr(''))
|