diff options
author | Ben Spiers <ben.spiers22@gmail.com> | 2018-07-19 22:27:47 +0100 |
---|---|---|
committer | Ben Spiers <ben.spiers22@gmail.com> | 2018-07-19 22:27:47 +0100 |
commit | e8bea510df1ce952ef877aec3c58b3c39d98b7ae (patch) | |
tree | 5d897fbe534b3f8e190e2ad4ebae6852749ef6f4 /test/command_callback/test_fortran_fortls_callback.vader | |
parent | 324838adae32f4062c2099c297530588fb80a1a3 (diff) | |
download | ale-e8bea510df1ce952ef877aec3c58b3c39d98b7ae.zip |
Add documentation and testing for fortls
Diffstat (limited to 'test/command_callback/test_fortran_fortls_callback.vader')
-rw-r--r-- | test/command_callback/test_fortran_fortls_callback.vader | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command_callback/test_fortran_fortls_callback.vader b/test/command_callback/test_fortran_fortls_callback.vader new file mode 100644 index 00000000..3be7ff4f --- /dev/null +++ b/test/command_callback/test_fortran_fortls_callback.vader @@ -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' |