summaryrefslogtreecommitdiff
path: root/test/command_callback/test_fortran_fortls_callback.vader
blob: 3be7ff4f6268716732ff1f3b2631e90b9b06ef0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Before:
  call ale#assert#SetUpLinterTest('fortran', 'language_server')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default executable path should be correct):
  AssertLinter 'fortls', ale#Escape('fortls')

Execute(The project root should be detected correctly):
  AssertLSPProject ''

  call ale#test#SetFilename('fortran-fortls-project/test.F90')

  AssertLSPProject ale#path#Simplify(g:dir . '/fortran-fortls-project')

Execute(The language should be correct):
  AssertLSPLanguage 'fortran'