summaryrefslogtreecommitdiff
path: root/test/linter/test_pony_ponyc.vader
blob: 18952db7891b46e87a38f98799fc982f405b8906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('pony', 'ponyc')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default ponyc command should be correct):
  AssertLinter 'ponyc', ale#Escape('ponyc') . ' --pass paint'

Execute(The pony executable and options should be configurable):
  let b:ale_pony_ponyc_executable = 'foobar'
  let b:ale_pony_ponyc_options = '--some-option'

  AssertLinter 'foobar', ale#Escape('foobar') . ' --some-option'