summaryrefslogtreecommitdiff
path: root/test/nix/test_rnix_lsp.vader
diff options
context:
space:
mode:
authorjD91mZM2 <me@krake.one>2021-01-22 17:29:51 +0100
committerjD91mZM2 <me@krake.one>2021-01-23 13:23:14 +0100
commitc1b6628425a87a7466c09afbd5f6c90217aa9ab0 (patch)
treed5d568fde678ce58878b00553995d2f6d07ee282 /test/nix/test_rnix_lsp.vader
parent9a1e91e075abf386e8c6fd620ec0835e566a7db1 (diff)
downloadale-c1b6628425a87a7466c09afbd5f6c90217aa9ab0.zip
Add rnix-lsp for Nix diagnostics and completion
Diffstat (limited to 'test/nix/test_rnix_lsp.vader')
-rw-r--r--test/nix/test_rnix_lsp.vader14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/nix/test_rnix_lsp.vader b/test/nix/test_rnix_lsp.vader
new file mode 100644
index 00000000..bf62616b
--- /dev/null
+++ b/test/nix/test_rnix_lsp.vader
@@ -0,0 +1,14 @@
+" Author: jD91mZM2 <me@krake.one>
+" Description: Tests for rnix-lsp language client
+
+Before:
+ call ale#assert#SetUpLinterTest('nix', 'rnix_lsp')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(should start rnix-lsp):
+ call ale#test#SetFilename('./test.nix')
+ AssertLSPLanguage 'nix'
+ AssertLSPOptions {}
+ AssertLSPProject ale#path#Simplify('.')