X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_markdown_markdownlint.vader diff --git a/.vim/bundle/ale/test/linter/test_markdown_markdownlint.vader b/.vim/bundle/ale/test/linter/test_markdown_markdownlint.vader new file mode 100644 index 00000000..7ec626ee --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_markdown_markdownlint.vader @@ -0,0 +1,14 @@ +Before: + call ale#assert#SetUpLinterTest('markdown', 'markdownlint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default markdownlint command should be correct): + AssertLinter 'markdownlint', ale#Escape('markdownlint') . ' %s' + +Execute(The executable should be configurable): + let g:ale_markdown_markdownlint_executable = 'foo bar' + let g:ale_markdown_markdownlint_options = '--option' + + AssertLinter 'foo bar', ale#Escape('foo bar') . ' --option %s'