summaryrefslogtreecommitdiff
path: root/test/linter/test_d_dls.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_d_dls.vader')
-rw-r--r--test/linter/test_d_dls.vader19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/linter/test_d_dls.vader b/test/linter/test_d_dls.vader
new file mode 100644
index 00000000..156ebf66
--- /dev/null
+++ b/test/linter/test_d_dls.vader
@@ -0,0 +1,19 @@
+Before:
+ call ale#assert#SetUpLinterTest('d', 'dls')
+
+ Save &filetype
+ let &filetype = 'd'
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The language string should be correct):
+ AssertLSPLanguage 'd'
+
+Execute(The default executable should be correct):
+ AssertLinter 'dls', 'dls'
+
+Execute(The executable should be configurable):
+ let g:ale_d_dls_executable = 'foobar'
+
+ AssertLinter 'foobar', 'foobar'