ale/test/handler/test_checkmake_handler.vader

20 lines
421 B
Plaintext
Raw Normal View History

2017-10-24 21:39:54 +00:00
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()