diff options
Diffstat (limited to 'test/test_jq_linter.vader')
-rw-r--r-- | test/test_jq_linter.vader | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test_jq_linter.vader b/test/test_jq_linter.vader new file mode 100644 index 00000000..e702f5a3 --- /dev/null +++ b/test/test_jq_linter.vader @@ -0,0 +1,15 @@ +Before: + runtime ale_linters/json/jq.vim + +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' + \ ]) |