ale/test/handler/test_checkmake_handler.vader
w0rp ae1d051504
#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
2023-09-16 22:23:30 +01:00

22 lines
426 B
Plaintext

Before:
runtime ale_linters/make/checkmake.vim
After:
call ale#linter#Reset()
Execute(Parsing checkmake errors should work):
AssertEqual
\ [
\ {
\ 'bufnr': 42,
\ 'lnum': 1,
\ 'type': 'E',
\ 'code': 'woops',
\ 'text': 'an error has occurred',
\ }
\ ],
\ ale_linters#make#checkmake#Handle(42, [
\ "This shouldn't match",
\ '1:woops:an error has occurred',
\ ])