summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorDavid Hotham <david.hotham@metaswitch.com>2018-08-03 20:59:32 +0100
committerDavid Hotham <david.hotham@metaswitch.com>2018-08-03 21:13:48 +0100
commitd0e33022539863b2c55aca49c1d1a9852b50c91d (patch)
treec79ff6e07c19b9eec0b261e73debeb89a0b836cd /test/command_callback
parent209cd547839c78403a2453d6a1e454d121103e28 (diff)
downloadale-d0e33022539863b2c55aca49c1d1a9852b50c91d.zip
Add support for yang-lsp
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_yang_lsp_command_callbacks.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_yang_lsp_command_callbacks.vader b/test/command_callback/test_yang_lsp_command_callbacks.vader
new file mode 100644
index 00000000..5be7501f
--- /dev/null
+++ b/test/command_callback/test_yang_lsp_command_callbacks.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpLinterTest('yang', 'yang_lsp')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The executable should be configurable):
+ AssertLinter 'yang-language-server', ale#Escape('yang-language-server')
+
+ let b:ale_yang_lsp_executable = 'foobar'
+
+ AssertLinter 'foobar', ale#Escape('foobar')