summaryrefslogtreecommitdiff
path: root/test/linter/test_cmake_cmake_lint.vader
blob: 9238f91a72600ce06bdc37f3cb01b1e304e22d7c (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') . '  %s'

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

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