summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-01-23 21:50:36 +0900
committerGitHub <noreply@github.com>2021-01-23 21:50:36 +0900
commit9fd9435cd525b1d3c4470db0d514f72ed31cfece (patch)
tree98504c77dbb4412e04830a7360ee9b8392c8f2f3 /test
parent1101346657edec80cbcbf7d1517711bf10b45847 (diff)
parentc1b6628425a87a7466c09afbd5f6c90217aa9ab0 (diff)
downloadale-9fd9435cd525b1d3c4470db0d514f72ed31cfece.zip
Merge pull request #3556 from jD91mZM2/rnix
Add rnix-lsp for Nix diagnostics and completion
Diffstat (limited to 'test')
-rw-r--r--test/nix/test.nix0
-rw-r--r--test/nix/test_rnix_lsp.vader14
2 files changed, 14 insertions, 0 deletions
diff --git a/test/nix/test.nix b/test/nix/test.nix
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/nix/test.nix
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('.')