diff options
author | Benjamin Block <benjamindblock@gmail.com> | 2024-02-22 02:12:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 11:12:57 +0900 |
commit | 8b8ddea6e59eabba86f21f1eff09336d98cf928d (patch) | |
tree | f5170daed5ffbce04610b575e14f491702f17b29 /test/linter | |
parent | 38c31302da0414c74cabfc6fbefc5d1bf5183fc1 (diff) | |
download | ale-8b8ddea6e59eabba86f21f1eff09336d98cf928d.zip |
Adding support for Odin language server (ols). (#4679)
Diffstat (limited to 'test/linter')
-rw-r--r-- | test/linter/test_odin_ols.vader | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/linter/test_odin_ols.vader b/test/linter/test_odin_ols.vader new file mode 100644 index 00000000..ac7d2797 --- /dev/null +++ b/test/linter/test_odin_ols.vader @@ -0,0 +1,16 @@ +Before: + call ale#assert#SetUpLinterTest('odin', 'ols') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default executable path should be correct): + AssertLinter 'ols', ale#Escape('ols') + +Execute(The LSP values should be set correctly): + call ale#test#SetFilename('../test-files/odin/main.odin') + + AssertLSPLanguage 'odin' + AssertLSPOptions {} + AssertLSPConfig {} + AssertLSPProject '.' |