#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:
w0rp
2023-09-08 01:00:35 +01:00
parent e5816964d1
commit bf55175b69
30 changed files with 138 additions and 498 deletions

View 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'
\ ])