mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
19 lines
511 B
Plaintext
19 lines
511 B
Plaintext
Before:
|
|
let g:ale_chef_foodcritic_options = '-t ~F011'
|
|
let g:ale_chef_foodcritic_executable = 'foodcritic'
|
|
|
|
call ale#test#SetDirectory('/testplugin/test')
|
|
runtime ale_linters/chef/foodcritic.vim
|
|
|
|
After:
|
|
let g:ale_chef_foodcritic_options = ''
|
|
let g:ale_chef_foodcritic_executable = ''
|
|
|
|
call ale#test#RestoreDirectory()
|
|
call ale#linter#Reset()
|
|
|
|
Execute(command line should be assembled correctly):
|
|
AssertEqual
|
|
\ 'foodcritic -t \~F011 %t',
|
|
\ ale_linters#chef#foodcritic#GetCommand(bufnr(''))
|