This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/handler/test_checkmake_handler.vader

24 lines
450 B
Text
Raw Normal View History

Before:
2017-10-24 21:39:54 +00:00
runtime ale_linters/make/checkmake.vim
After:
call ale#linter#Reset()
Execute(Parsing checkmake errors should work):
2017-10-24 21:39:54 +00:00
silent file Makefile
AssertEqual
\ [
\ {
\ 'bufnr': 42,
\ 'lnum': 1,
\ 'type': 'E',
2017-11-15 23:01:59 +00:00
\ 'code': 'woops',
\ 'text': 'an error has occurred',
2017-10-24 21:39:54 +00:00
\ }
\ ],
\ ale_linters#make#checkmake#Handle(42, [
\ 'This shouldnt match',
\ '1:woops:an error has occurred',
\ ])