mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 23:52:22 +00:00
ae1d051504
* 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
22 lines
661 B
Plaintext
22 lines
661 B
Plaintext
Before:
|
|
runtime ale_linters/erlang/dialyzer.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The dialyzer handler should handle error messages.):
|
|
AssertEqual
|
|
\[
|
|
\ {
|
|
\ 'lnum': 3,
|
|
\ 'lcol': 0,
|
|
\ 'text': 'Callback info about the provider behaviour is not available',
|
|
\ 'type': 'W'
|
|
\ }
|
|
\],
|
|
\ ale_linters#erlang#dialyzer#Handle(bufnr(''), ['erl_tidy_prv_fmt.erl:3: Callback info about the provider behaviour is not available'])
|
|
|
|
Execute(The dialyzer handler should handle empty input):
|
|
AssertEqual [], ale_linters#erlang#dialyzer#Handle(bufnr(''), [])
|
|
AssertEqual [], ale_linters#erlang#dialyzer#Handle(bufnr(''), [''])
|