diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-05-01 19:29:06 -0300 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-05-01 19:49:45 -0300 |
commit | f11637b62b6d97be87d241476ebac9962a9a2a51 (patch) | |
tree | 19665b45e32d5707184aced08ecac2d798ec99c9 /test/command_callback/test_markdown_mdl_command_callback.vader | |
parent | ae85695543c1e303ba062a5359a82c82cac53fd3 (diff) | |
download | ale-f11637b62b6d97be87d241476ebac9962a9a2a51.zip |
Add bundle option to mdl
Diffstat (limited to 'test/command_callback/test_markdown_mdl_command_callback.vader')
-rw-r--r-- | test/command_callback/test_markdown_mdl_command_callback.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_markdown_mdl_command_callback.vader b/test/command_callback/test_markdown_mdl_command_callback.vader index 3a68a4b2..2fb9a206 100644 --- a/test/command_callback/test_markdown_mdl_command_callback.vader +++ b/test/command_callback/test_markdown_mdl_command_callback.vader @@ -26,3 +26,10 @@ Execute(The executable and options should be configurable): AssertEqual \ ale_linters#markdown#mdl#GetCommand(bufnr('')), \ ale#Escape('foo bar') . ' --wat' + +Execute(Setting bundle appends 'exec mdl'): + let g:ale_markdown_mdl_executable = 'path to/bundle' + + AssertEqual + \ ale#Escape('path to/bundle') . ' exec mdl', + \ ale_linters#markdown#mdl#GetCommand(bufnr('')) |