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_perl_command_callback.vader

15 lines
438 B
Text
Raw Normal View History

Before:
call ale#assert#SetUpLinterTest('perl', 'perl')
After:
call ale#assert#TearDownLinterTest()
Execute(The default Perl command callback should be correct):
AssertLinter 'perl', ale#Escape('perl') . ' -c -Mwarnings -Ilib %t'
Execute(Overriding the executable and command should work):
let b:ale_perl_perl_executable = 'foobar'
let b:ale_perl_perl_options = '-w'
AssertLinter 'foobar', ale#Escape('foobar') . ' -w %t'