summaryrefslogtreecommitdiff
path: root/test/linter
diff options
context:
space:
mode:
authorBenjamin Block <benjamindblock@gmail.com>2024-02-22 02:12:57 +0000
committerGitHub <noreply@github.com>2024-02-22 11:12:57 +0900
commit8b8ddea6e59eabba86f21f1eff09336d98cf928d (patch)
treef5170daed5ffbce04610b575e14f491702f17b29 /test/linter
parent38c31302da0414c74cabfc6fbefc5d1bf5183fc1 (diff)
downloadale-8b8ddea6e59eabba86f21f1eff09336d98cf928d.zip
Adding support for Odin language server (ols). (#4679)
Diffstat (limited to 'test/linter')
-rw-r--r--test/linter/test_odin_ols.vader16
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 '.'