summaryrefslogtreecommitdiff
path: root/test/linter/test_nix_statix.vader
blob: a6a389d5e0ddd41325ba5d78d569e4b9c2e9dac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('nix', 'statix')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default statix command should be correct):
  AssertLinter 'statix', ale#Escape('statix') . ' check -o errfmt --stdin'

Execute(The statix executable and options should be configurable):
  let g:ale_nix_statix_check_executable = 'foo'
  let g:ale_nix_statix_check_options = '--foobar'

  AssertLinter 'foo', ale#Escape('foo') . ' check -o errfmt --stdin --foobar'