mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 06:46:52 +08:00
Add command callback test
This commit is contained in:
8
test/command_callback/test_jq_command_callback.vader
Normal file
8
test/command_callback/test_jq_command_callback.vader
Normal file
@@ -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')
|
||||
@@ -1,6 +1,9 @@
|
||||
Before:
|
||||
runtime ale_linters/json/jq.vim
|
||||
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute (Should parse error correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
|
||||
Reference in New Issue
Block a user