summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2019-10-11 10:08:36 +0200
committerBartek thindil Jasicki <thindil@laeran.pl>2019-10-11 10:08:36 +0200
commit38e0e3feefad4e5974224a05cfa612c52bd8e358 (patch)
tree46b3c34e63203f1ebcf46055b93f946160e0d42e /test/command_callback
parent489b7d64e4a22492e94a18fe5a05703735e63afc (diff)
downloadale-38e0e3feefad4e5974224a05cfa612c52bd8e358.zip
added adalsp test
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_adalsp_command_callbacks.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_adalsp_command_callbacks.vader b/test/command_callback/test_adalsp_command_callbacks.vader
new file mode 100644
index 00000000..73cbf296
--- /dev/null
+++ b/test/command_callback/test_adalsp_command_callbacks.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpLinterTest('ada', 'adalsp')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(It does not set Ada sources by default):
+ AssertLinter 'adalsp', ale#Escape('adalsp')
+
+Execute(Sets adalsp executable):
+ let g:ale_ada_adalsp_executable = '/path/to /Ada'
+ AssertLinter 'adalsp', ale#Escape('adalsp') . ' ' . ale#Escape('/path/to /Ada')