19 lines
510 B
Text
19 lines
510 B
Text
|
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'
|