1
0
Fork 0
mirror of synced 2024-11-18 06:55:33 -05:00
ultimate-vim/sources_non_forked/ale/test/linter/test_perl.vader

15 lines
438 B
Text
Raw Normal View History

2022-05-19 09:16:38 -04:00
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'