summaryrefslogtreecommitdiff
path: root/test/handler/test_checkmake_handler.vader
blob: 61fe141ac4a5afa6cf195082eecec6f8d31c138d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()