mirror of https://github.com/dense-analysis/ale
18 lines
395 B
Plaintext
18 lines
395 B
Plaintext
|
Before:
|
||
|
runtime ale_linters/zeek/zeek.vim
|
||
|
|
||
|
After:
|
||
|
call ale#linter#Reset()
|
||
|
|
||
|
Execute(The zeek handler should parse input correctly):
|
||
|
AssertEqual
|
||
|
\ [
|
||
|
\ {
|
||
|
\ 'lnum': 2,
|
||
|
\ 'text': 'unknown identifier bar, at or near "bar"'
|
||
|
\ },
|
||
|
\ ],
|
||
|
\ ale_linters#zeek#zeek#HandleErrors(bufnr(''), [
|
||
|
\ 'error in /tmp/foo.zeek, line 2: unknown identifier bar, at or near "bar"'
|
||
|
\ ])
|