This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_jshint_command_callback.vader

15 lines
472 B
Text
Raw Normal View History

Before:
call ale#assert#SetUpLinterTest('javascript', 'jshint')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'jshint', '''jshint'' --reporter unix --extract auto --filename %s -'
Execute(Setting a config location should add the config parameter):
let g:ale_jshint_config_loc = '/some/file'
AssertLinter 'jshint', '''jshint'' --reporter unix --extract auto --config ''/some/file'' --filename %s -'