summaryrefslogtreecommitdiff
path: root/test/command_callback/test_languagetool_command_callback.vader
blob: 1b5f0e004c09dca87506d08f276783e6a3d8a89b (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 '

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

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