This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/test_jq_linter.vader
2021-02-02 13:15:46 +01:00

18 lines
361 B
Text

Before:
runtime ale_linters/json/jq.vim
After:
call ale#linter#Reset()
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'
\ ])