diff options
author | Auri <me@aurieh.me> | 2018-10-17 18:11:41 +0300 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2018-10-17 16:11:41 +0100 |
commit | be21aa5cda39850d9f0261e3b6cac9d48a170756 (patch) | |
tree | dac5b3105be2930e81be392b7afbcdbed1d75309 /test/command_callback | |
parent | d999eb1f3564cb2933059ae2bc1e7d5edda2a8d2 (diff) | |
download | ale-be21aa5cda39850d9f0261e3b6cac9d48a170756.zip |
New linter: dls (#1992)
* New linter: dls
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_d_dls_callbacks.vader | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command_callback/test_d_dls_callbacks.vader b/test/command_callback/test_d_dls_callbacks.vader new file mode 100644 index 00000000..156ebf66 --- /dev/null +++ b/test/command_callback/test_d_dls_callbacks.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' |