diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-10-25 15:38:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 15:38:33 +0100 |
commit | 320c74ce1a28bfb4f2e10e1efcd2ca93701fc00e (patch) | |
tree | 72a2860d0a2660e8f32dd67a087973992508b0b6 /test/command_callback/test_perl6_command_callback.vader | |
parent | 3e65e85178d144c464702570fc20b88fd5e2e20e (diff) | |
parent | adad9a21ab3fa16b115c044de3c46d98b577f72b (diff) | |
download | ale-320c74ce1a28bfb4f2e10e1efcd2ca93701fc00e.zip |
Merge pull request #1958 from Garland-g/perl6
Add Perl6 support via 'perl6 -c'
Diffstat (limited to 'test/command_callback/test_perl6_command_callback.vader')
-rw-r--r-- | test/command_callback/test_perl6_command_callback.vader | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command_callback/test_perl6_command_callback.vader b/test/command_callback/test_perl6_command_callback.vader new file mode 100644 index 00000000..d3ec6e17 --- /dev/null +++ b/test/command_callback/test_perl6_command_callback.vader @@ -0,0 +1,14 @@ +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' |