diff options
author | Bartek thindil Jasicki <thindil@laeran.pl> | 2019-10-18 18:15:05 +0200 |
---|---|---|
committer | Bartek thindil Jasicki <thindil@laeran.pl> | 2019-10-18 18:15:05 +0200 |
commit | 8239b76c5a4c765ffa04cb5c6ad0ad94cd1d0dea (patch) | |
tree | a06e6d34aad2fea419ae92109fc6319dadda2758 /test/command_callback/test_nimlsp_command_callback.vader | |
parent | 6d5d3fa4dd1cc18a5b90c587502ad37323df08a3 (diff) | |
parent | c06467438dff38b939fd81b32395296d01a59df6 (diff) | |
download | ale-8239b76c5a4c765ffa04cb5c6ad0ad94cd1d0dea.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test/command_callback/test_nimlsp_command_callback.vader')
-rw-r--r-- | test/command_callback/test_nimlsp_command_callback.vader | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_nimlsp_command_callback.vader b/test/command_callback/test_nimlsp_command_callback.vader new file mode 100644 index 00000000..c109deef --- /dev/null +++ b/test/command_callback/test_nimlsp_command_callback.vader @@ -0,0 +1,12 @@ +Before: + call ale#assert#SetUpLinterTest('nim', 'nimlsp') + +After: + call ale#assert#TearDownLinterTest() + +Execute(It does not set nim sources by default): + AssertLinter 'nimlsp', ale#Escape('nimlsp') + +Execute(Sets nimlsp and escapes sources from g:ale_nim_nimlsp_nim_sources): + let g:ale_nim_nimlsp_nim_sources = '/path/to /Nim' + AssertLinter 'nimlsp', ale#Escape('nimlsp') . ' ' . ale#Escape('/path/to /Nim') |