summaryrefslogtreecommitdiff
path: root/test/test_jq_linter.vader
blob: cbe23b966a5332df11bd234a0a081dcb80e52eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'
  \ ])