summaryrefslogtreecommitdiff
path: root/test/linter/test_markdown_markdownlint.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_markdown_markdownlint.vader')
-rw-r--r--test/linter/test_markdown_markdownlint.vader10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/linter/test_markdown_markdownlint.vader b/test/linter/test_markdown_markdownlint.vader
index b938ac41..7ec626ee 100644
--- a/test/linter/test_markdown_markdownlint.vader
+++ b/test/linter/test_markdown_markdownlint.vader
@@ -4,15 +4,11 @@ Before:
After:
call ale#assert#TearDownLinterTest()
-Execute(The default command should be correct):
+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') . ' %s'
-
-Execute(The options should be configurable):
- let g:ale_markdown_markdownlint_options = '--config ~/custom/.markdownlintrc'
-
- AssertLinter 'markdownlint', ale#Escape('markdownlint') . ' --config ~/custom/.markdownlintrc %s'
+ AssertLinter 'foo bar', ale#Escape('foo bar') . ' --option %s'