ale/test/handler/test_clang_handler.vader

20 lines
489 B
Plaintext
Raw Normal View History

2017-04-11 20:05:41 +00:00
Execute(clang errors from included files should be parsed correctly):
AssertEqual
\ [
\ {
\ 'lnum': 1,
\ 'col': 1,
\ 'filename': './b.h',
2017-04-11 20:05:41 +00:00
\ 'type': 'E',
\ 'text': 'expected identifier or ''(''',
2017-04-11 20:05:41 +00:00
\ },
\ ],
\ 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.',
\ ])