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_perl6_command_callback.vader
2018-09-28 16:18:40 -07:00

14 lines
412 B
Text

Before:
call ale#assert#SetUpLinterTest('perl6', 'perl6')
After:
call ale#assert#TearDownLinterTest()
Execute(The default Perl6 command callback should be correct):
AssertLinter 'perl6', 'perl6' . ' -c -Ilib %t'
Execute(Overriding the executable and command should work):
let b:ale_perl6_perl6_executable = 'foobar'
let b:ale_perl6_perl6_options = '-w'
AssertLinter 'foobar', 'foobar' . ' -w %t'