2017-11-28 04:47:04 -05:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('ruby', 'ruby')
|
2017-11-28 04:47:04 -05:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-11-28 04:47:04 -05:00
|
|
|
|
|
|
|
Execute(The default command should be correct):
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c -T1 %t'
|
2017-11-28 04:47:04 -05:00
|
|
|
|
|
|
|
Execute(The executable should be configurable):
|
|
|
|
let g:ale_ruby_ruby_executable = 'foobar'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c -T1 %t'
|