mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#4454 Clean up root test directory tests
Combine cases into smaller tests of tests and remove tests we no longer need. Linter tests have been moved to where they should be.
This commit is contained in:
18
test/handler/test_jq_handler.vader
Normal file
18
test/handler/test_jq_handler.vader
Normal file
@@ -0,0 +1,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'
|
||||
\ ])
|
||||
Reference in New Issue
Block a user