summaryrefslogtreecommitdiff
path: root/test/nix
diff options
context:
space:
mode:
authorPierre-Nicolas Clauss <pinicarus@protonmail.com>2021-01-23 19:06:59 +0100
committerPierre-Nicolas Clauss <pinicarus@protonmail.com>2021-01-23 19:06:59 +0100
commit0ac7595fe97607ae99757787eba19cf0870be00d (patch)
tree43bebcf52c3caf7a22d26b9309d0beb58aa144a9 /test/nix
parentdb96b007209f7ea0983c58cb1d18771f5a45a543 (diff)
parent9fd9435cd525b1d3c4470db0d514f72ed31cfece (diff)
downloadale-0ac7595fe97607ae99757787eba19cf0870be00d.zip
Merge remote-tracking branch 'upstream/master'
Signed-off-by: Pierre-Nicolas Clauss <pinicarus@protonmail.com>
Diffstat (limited to 'test/nix')
-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('.')