summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorjD91mZM2 <me@krake.one>2021-02-02 13:01:03 +0100
committerjD91mZM2 <me@krake.one>2021-02-02 13:15:46 +0100
commit98caa19cc76ee1d98121b3dbe9158374cf00f2d7 (patch)
tree6a19dd8637ce78001a4c5bc74a0d1b95fed97f49 /test/command_callback
parent4894c760c25e9f436a071ceb80a538fb0b23b306 (diff)
downloadale-98caa19cc76ee1d98121b3dbe9158374cf00f2d7.zip
Add command callback test
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_jq_command_callback.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command_callback/test_jq_command_callback.vader b/test/command_callback/test_jq_command_callback.vader
new file mode 100644
index 00000000..20c3db5b
--- /dev/null
+++ b/test/command_callback/test_jq_command_callback.vader
@@ -0,0 +1,8 @@
+Before:
+ call ale#assert#SetUpLinterTest('json', 'jq')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'jq', ale#Escape('jq')