summaryrefslogtreecommitdiff
path: root/test/handler/test_common_handlers.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-11 20:32:57 +0100
committerw0rp <devw0rp@gmail.com>2017-04-11 20:32:57 +0100
commitb06b832447253404180ce6a97927755e4ae68c22 (patch)
treeb8b4b0592ffc245257869edca0066b425e1806f6 /test/handler/test_common_handlers.vader
parent8b890caa31411cd022156dca8e4c7f4c5fb65fc9 (diff)
downloadale-b06b832447253404180ce6a97927755e4ae68c22.zip
#392 Report errors inside of headers, in a very basic way
Diffstat (limited to 'test/handler/test_common_handlers.vader')
-rw-r--r--test/handler/test_common_handlers.vader8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/handler/test_common_handlers.vader b/test/handler/test_common_handlers.vader
index 0968a916..f087fb55 100644
--- a/test/handler/test_common_handlers.vader
+++ b/test/handler/test_common_handlers.vader
@@ -55,7 +55,7 @@ Then (The loclist should be correct):
\], g:loclist
Execute (Run HandleGCCFormat):
- let g:loclist = ale#handlers#HandleGCCFormat(42, [
+ let g:loclist = ale#handlers#gcc#HandleGCCFormat(42, [
\ '<stdin>:8:5: warning: conversion lacks type at end of format [-Wformat=]',
\ '<stdin>:10:27: error: invalid operands to binary - (have ‘int’ and ‘char *’)',
\])
@@ -63,18 +63,12 @@ Execute (Run HandleGCCFormat):
Then (The loclist should be correct):
AssertEqual [
\ {
- \ 'bufnr': 42,
- \ 'vcol': 0,
- \ 'nr': -1,
\ 'lnum': 8,
\ 'col': 5,
\ 'type': 'W',
\ 'text': 'conversion lacks type at end of format [-Wformat=]',
\ },
\ {
- \ 'bufnr': 42,
- \ 'vcol': 0,
- \ 'nr': -1,
\ 'lnum': 10,
\ 'col': 27,
\ 'type': 'E',