2018-07-19 21:27:47 +00:00
|
|
|
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 ''
|
|
|
|
|
2021-03-20 22:11:22 +00:00
|
|
|
call ale#test#SetFilename('../test-files/fortls-project/test.F90')
|
2018-07-19 21:27:47 +00:00
|
|
|
|
2021-03-20 22:11:22 +00:00
|
|
|
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/fortls-project')
|
2018-07-19 21:27:47 +00:00
|
|
|
|
|
|
|
Execute(The language should be correct):
|
|
|
|
AssertLSPLanguage 'fortran'
|