2017-07-08 13:37:21 -04:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('javascript', 'jscs')
|
2017-07-08 13:37:21 -04:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-07-08 13:37:21 -04:00
|
|
|
|
|
|
|
Execute(Should return the correct default values):
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'jscs',
|
|
|
|
\ ale#Escape('jscs') . ' --reporter inline --no-colors -'
|
2017-07-08 13:37:21 -04:00
|
|
|
|
|
|
|
Execute(Should allow using a custom executable):
|
|
|
|
let g:ale_javascript_jscs_executable = 'foobar'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'foobar',
|
|
|
|
\ ale#Escape('foobar') . ' --reporter inline --no-colors -'
|