Files
ale/test/linter/test_text_vale.vader
2026-01-25 16:30:53 +09:00

16 lines
559 B
Plaintext

Before:
call ale#assert#SetUpLinterTest('text', 'vale')
After:
call ale#assert#TearDownLinterTest()
Execute(The Vale command should include extra options when configured):
let g:ale_vale_executable = 'vale'
let g:ale_vale_options = '--minAlertLevel=warning'
AssertLinter 'vale', ale#Escape('vale') . ' --minAlertLevel=warning --output=JSON %t'
Execute(The Vale command should not include extra options by default):
let g:ale_vale_executable = 'vale'
let g:ale_vale_options = ''
AssertLinter 'vale', ale#Escape('vale') . ' --output=JSON %t'