summaryrefslogtreecommitdiff
path: root/test/command_callback/test_languagetool_command_callback.vader
blob: a79662b98a5aadb9033f4ad5e6ad9b4c2fe2c873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
    call ale#assert#SetUpLinterTest('text', 'languagetool')

After:
    call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):
  AssertLinter 'languagetool', ale#Escape('languagetool')
  \ . ' --autoDetect %s'

Execute(Should be able to set a custom executable):
  let g:ale_languagetool_executable = 'foobar'

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