mirror of https://github.com/dense-analysis/ale
13 lines
290 B
Plaintext
13 lines
290 B
Plaintext
|
Before:
|
||
|
call ale#test#SetFilename('test.proto')
|
||
|
|
||
|
After:
|
||
|
Restore
|
||
|
|
||
|
call ale#linter#Reset()
|
||
|
|
||
|
Execute(The default command should be correct):
|
||
|
AssertEqual
|
||
|
\ 'protoc' . ' -I ' . ale#Escape(getcwd()) . ' --lint_out=. ' . '%s',
|
||
|
\ ale_linters#proto#protoc_gen_lint#GetCommand(bufnr(''))
|