mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
#4454 Clean up more tests and code
* Remove some tests we no longer need * Delete blocks of redundant code * Compress some tests together to simplify them * Remove a little code for ancient linter versions * Escape more executables we didn't escape before * Rename a deno option that didn't match our conventions
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The handler should return an empty list with empty input):
|
||||
AssertEqual [], ale#handlers#scala#HandleScalacLintFormat(bufnr(''), [])
|
||||
|
||||
Execute(The handler should correctly parse error messages):
|
||||
AssertEqual
|
||||
AssertEqual
|
||||
\ [
|
||||
\ {
|
||||
\ {
|
||||
\ 'lnum': 4,
|
||||
\ 'col': 8,
|
||||
\ 'text': ''':'' expected but identifier found.',
|
||||
|
||||
Reference in New Issue
Block a user