From e8bea510df1ce952ef877aec3c58b3c39d98b7ae Mon Sep 17 00:00:00 2001 From: Ben Spiers Date: Thu, 19 Jul 2018 22:27:47 +0100 Subject: Add documentation and testing for fortls --- .../test_fortran_fortls_callback.vader | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/command_callback/test_fortran_fortls_callback.vader (limited to 'test/command_callback/test_fortran_fortls_callback.vader') 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' -- cgit v1.2.3