summaryrefslogtreecommitdiff
path: root/test/handler/test_clang_handler.vader
blob: d28b9eb80b95a5212b655caad28205abc513e74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Execute(clang errors from included files should be parsed correctly):
  AssertEqual
  \ [
  \   {
  \     'lnum': 3,
  \     'type': 'E',
  \     'text': 'Problems were found in the header (See :ALEDetail)',
  \     'detail': join([
  \       './b.h:1:1: error: expected identifier or ''(''',
  \       '{{{',
  \       '^',
  \       '1 error generated.',
  \     ], "\n"),
  \   },
  \ ],
  \ ale#handlers#gcc#HandleGCCFormat(347, [
  \   'In file included from test.c:3:',
  \   'In file included from ./a.h:1:',
  \   './b.h:1:1: error: expected identifier or ''(''',
  \   '{{{',
  \   '^',
  \   '1 error generated.',
  \ ])