summaryrefslogtreecommitdiff
path: root/test/command_callback/test_jq_command_callback.vader
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-02-06 21:29:51 +0900
committerGitHub <noreply@github.com>2021-02-06 21:29:51 +0900
commitcf53eb3667edddf5708114aa0e617403d5dcd75b (patch)
tree325af191aa4206be412d3b3b8f18bbc55b20bc59 /test/command_callback/test_jq_command_callback.vader
parent787ab2a36684838698a0173f29e82715420f117c (diff)
parent27130efc655dcba17c84cd4f8d30b6985c574441 (diff)
downloadale-cf53eb3667edddf5708114aa0e617403d5dcd75b.zip
Merge pull request #3568 from jD91mZM2/jq
Add jq linter for JSON diagnostics
Diffstat (limited to 'test/command_callback/test_jq_command_callback.vader')
-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')