diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-30 20:09:43 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-30 20:09:43 +0100 |
commit | 16d0c52d24e8948b8bd8030e3fd112e0b6361c06 (patch) | |
tree | 608a4a86e1f0521830bb409d88026fe881ff6ec2 /test/handler/test_clang_handler.vader | |
parent | 1e6b1d9be28495ead50e24b0d1eb93963dd92f4c (diff) | |
download | ale-16d0c52d24e8948b8bd8030e3fd112e0b6361c06.zip |
Indicate that a C compiler failed due to problems in a header file
Diffstat (limited to 'test/handler/test_clang_handler.vader')
-rw-r--r-- | test/handler/test_clang_handler.vader | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/handler/test_clang_handler.vader b/test/handler/test_clang_handler.vader index 278737a8..cc8eabd0 100644 --- a/test/handler/test_clang_handler.vader +++ b/test/handler/test_clang_handler.vader @@ -8,9 +8,20 @@ Execute(clang errors from included files should be parsed correctly): \ 'type': 'E', \ 'text': 'expected identifier or ''(''', \ }, + \ { + \ 'lnum': 3, + \ 'text': 'Error found in header. See :ALEDetail', + \ 'detail': join([ + \ 'In file included from <stdin>:3:', + \ 'In file included from ./a.h:1:', + \ './b.h:1:1: error: expected identifier or ''(''', + \ '{{{', + \ '^', + \ ], "\n"), + \ }, \ ], - \ ale#handlers#gcc#HandleGCCFormat(347, [ - \ 'In file included from test.c:3:', + \ ale#handlers#gcc#HandleGCCFormatWithIncludes(347, [ + \ 'In file included from <stdin>:3:', \ 'In file included from ./a.h:1:', \ './b.h:1:1: error: expected identifier or ''(''', \ '{{{', |