File: test_ispc_ispc.vader

package info (click to toggle)
vim-ale 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,764 kB
  • sloc: sh: 499; python: 311; perl: 31; makefile: 4; xml: 4; javascript: 1
file content (14 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('ispc', 'ispc')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default ispc command should be configurable):
  AssertLinter 'ispc', ale#Escape('ispc') . ' --nowrap %s'

Execute(The ispc executable nad options should be configurable):
  let b:ale_ispc_ispc_executable = 'foo'
  let g:ale_ispc_ispc_options = '--foo'

  AssertLinter 'foo', ale#Escape('foo') . ' --nowrap --foo' . ' %s'