summaryrefslogtreecommitdiff
path: root/test/linter/test_perl6.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_perl6.vader')
-rw-r--r--test/linter/test_perl6.vader14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/linter/test_perl6.vader b/test/linter/test_perl6.vader
new file mode 100644
index 00000000..d3ec6e17
--- /dev/null
+++ b/test/linter/test_perl6.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'