Add documentation and testing for fortls

This commit is contained in:
Ben Spiers
2018-07-19 22:27:47 +01:00
parent 324838adae
commit e8bea510df
4 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,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'