From f11637b62b6d97be87d241476ebac9962a9a2a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Tue, 1 May 2018 19:29:06 -0300 Subject: Add bundle option to mdl --- test/command_callback/test_markdown_mdl_command_callback.vader | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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('')) -- cgit v1.2.3