Add Vader tests

This commit is contained in:
aurieh 2017-10-25 00:39:54 +03:00
parent f0a0aef33d
commit b401772d23

View File

@ -0,0 +1,19 @@
Execute(Parsing checkmake errors should work):
runtime ale_linters/make/checkmake.vim
silent file Makefile
AssertEqual
\ [
\ {
\ 'bufnr': 42,
\ 'lnum': 1,
\ 'type': 'E',
\ 'text': 'woops: an error has occurred',
\ }
\ ],
\ ale_linters#make#checkmake#Handle(42, [
\ 'This shouldnt match',
\ '1:woops:an error has occurred',
\ ])
After:
call ale#linter#Reset()