mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 16:42:19 +00:00
0cb3e36554
Fixes #936
13 lines
325 B
Plaintext
13 lines
325 B
Plaintext
Before:
|
|
runtime ale_linters/go/gosimple.vim
|
|
call ale#test#SetFilename('../go_files/testfile2.go')
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The default gosimple command should be correct):
|
|
AssertEqual 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
|
|
\ . ' gosimple .',
|
|
\ ale_linters#go#gosimple#GetCommand(bufnr(''))
|
|
|