summaryrefslogtreecommitdiff
path: root/test/command_callback/test_markdown_mdl_command_callback.vader
diff options
context:
space:
mode:
authorEddie Lebow <elebow@users.noreply.github.com>2019-08-13 00:15:53 -0400
committerEddie Lebow <elebow@users.noreply.github.com>2019-08-18 23:28:32 -0400
commit08a5bfcaa911afbd04d696b49a09eb83beef50bb (patch)
tree9585625858bc62857c29f4850e8ff7315d62cf84 /test/command_callback/test_markdown_mdl_command_callback.vader
parentdd1e1025b8a9b13cb7966bf2baa3e6b42a862857 (diff)
downloadale-08a5bfcaa911afbd04d696b49a09eb83beef50bb.zip
mdl: Use JSON output instead of parsing text
Also add test coverage for the mdl handler.
Diffstat (limited to 'test/command_callback/test_markdown_mdl_command_callback.vader')
-rw-r--r--test/command_callback/test_markdown_mdl_command_callback.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_markdown_mdl_command_callback.vader b/test/command_callback/test_markdown_mdl_command_callback.vader
index e029bf9b..1ce4db1a 100644
--- a/test/command_callback/test_markdown_mdl_command_callback.vader
+++ b/test/command_callback/test_markdown_mdl_command_callback.vader
@@ -5,15 +5,15 @@ After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
- AssertLinter 'mdl', ale#Escape('mdl')
+ AssertLinter 'mdl', ale#Escape('mdl') . ' -j'
Execute(The executable and options should be configurable):
let g:ale_markdown_mdl_executable = 'foo bar'
let g:ale_markdown_mdl_options = '--wat'
- AssertLinter 'foo bar', ale#Escape('foo bar') . ' --wat'
+ AssertLinter 'foo bar', ale#Escape('foo bar') . ' -j --wat'
Execute(Setting bundle appends 'exec mdl'):
let g:ale_markdown_mdl_executable = 'path to/bundle'
- AssertLinter 'path to/bundle', ale#Escape('path to/bundle') . ' exec mdl'
+ AssertLinter 'path to/bundle', ale#Escape('path to/bundle') . ' exec mdl -j'