diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-05-03 22:20:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 22:20:39 +0100 |
commit | 726a768464d3e42869088599cf1bd049f7a751df (patch) | |
tree | 42d558ccd62eacff6736fccf37524c9bcf27d3fe /test | |
parent | 7c0219efccee6a5929274b07a594e832fd5d596a (diff) | |
parent | f11637b62b6d97be87d241476ebac9962a9a2a51 (diff) | |
download | ale-726a768464d3e42869088599cf1bd049f7a751df.zip |
Merge pull request #1550 from deivid-rodriguez/bundle_option_for_mdl
Add bundle option to mdl
Diffstat (limited to 'test')
-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('')) |