summaryrefslogtreecommitdiff
path: root/test/linter/test_perl6.vader
blob: d3ec6e17c87a6d7b493f0a5527a519cfa1b13be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'