summaryrefslogtreecommitdiff
path: root/test/command_callback/test_fortran_fortls_callback.vader
blob: 581f94ba7171be4520fc84d3d9f02b1508ca1b5a (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('../test-files/fortls-project/test.F90')

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

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