summaryrefslogtreecommitdiff
path: root/test/linter/test_desktop_file_validate.vader
blob: 4a49057b21723ce28df3abd524f028fb4e37ad3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
  call ale#assert#SetUpLinterTest('desktop', 'desktop_file_validate')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):
  AssertLinter 'desktop-file-validate',
  \ ale#Escape('desktop-file-validate') . ' %t'

Execute(Extra options should work):
  let b:ale_desktop_desktop_file_validate_options = '--warn-kde'

  AssertLinter 'desktop-file-validate',
  \ ale#Escape('desktop-file-validate') . ' --warn-kde %t'