summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_xmllint_fixer_callback.vader10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixers/test_xmllint_fixer_callback.vader b/test/fixers/test_xmllint_fixer_callback.vader
index 54fe05bd..103b0f7b 100644
--- a/test/fixers/test_xmllint_fixer_callback.vader
+++ b/test/fixers/test_xmllint_fixer_callback.vader
@@ -12,6 +12,16 @@ Before:
After:
Restore
+Execute(The xmllint callback should return the correct default command with unpersisted buffer):
+ new
+
+ AssertEqual
+ \ {
+ \ 'command': ale#Escape('/path/to/xmllint')
+ \ . ' --format %t'
+ \ },
+ \ ale#fixers#xmllint#Fix(bufnr(''))
+
Execute(The xmllint callback should return the correct default command):
AssertEqual
\ {