2021-01-31 12:01:03 +00:00
|
|
|
Before:
|
|
|
|
runtime ale_linters/json/jq.vim
|
|
|
|
|
2021-02-02 12:01:03 +00:00
|
|
|
After:
|
|
|
|
call ale#linter#Reset()
|
|
|
|
|
2021-01-31 12:01:03 +00:00
|
|
|
Execute (Should parse error correctly):
|
|
|
|
AssertEqual
|
|
|
|
\ [
|
|
|
|
\ {
|
|
|
|
\ 'lnum': 1,
|
|
|
|
\ 'col': 9,
|
|
|
|
\ 'text': 'Expected another array element',
|
|
|
|
\ }
|
|
|
|
\ ],
|
|
|
|
\ ale_linters#json#jq#Handle(0, [
|
|
|
|
\ 'parse error: Expected another array element at line 1, column 9'
|
|
|
|
\ ])
|
2024-11-23 09:42:22 +00:00
|
|
|
|
|
|
|
AssertEqual
|
|
|
|
\ [
|
|
|
|
\ {
|
|
|
|
\ 'lnum': 1,
|
|
|
|
\ 'col': 9,
|
|
|
|
\ 'text': 'Expected another array element',
|
|
|
|
\ }
|
|
|
|
\ ],
|
|
|
|
\ ale_linters#json#jq#Handle(0, [
|
|
|
|
\ 'jq: parse error: Expected another array element at line 1, column 9'
|
|
|
|
\ ])
|