File: test_bashate.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 (15 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
  call ale#assert#SetUpLinterTest('sh', 'bashate')
  call ale#test#SetFilename('test.sh')

After:
  call ale#assert#TearDownLinterTest()

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

Execute(The bashate command should accept options):
  let b:ale_sh_bashate_options = '-i E310 --max-line-length 100'

  AssertLinter 'bashate',
  \ ale#Escape('bashate') . ' -i E310 --max-line-length 100 %t'