summaryrefslogtreecommitdiff
path: root/test/linter/test_cmake_cmake_lint.vader
blob: 6cf09149726133fcf2c61373347b87df6ab4f895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Before:
  call ale#assert#SetUpLinterTest('cmake', 'cmake_lint')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):
  AssertLinter 'cmake-lint', ale#Escape('cmake-lint') . '  %t'

Execute(The executable should be configurable):
  let g:ale_cmake_cmake_lint_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . '  %t'