I broke up with neovim....vim is my best friend now
This commit is contained in:
17
dot_vim/plugged/ale/test/handler/test_zeek_handler.vader
Normal file
17
dot_vim/plugged/ale/test/handler/test_zeek_handler.vader
Normal file
@@ -0,0 +1,17 @@
|
||||
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"'
|
||||
\ ])
|
||||
Reference in New Issue
Block a user