summaryrefslogtreecommitdiff
path: root/test/handler/test_vlog_handler.vader
diff options
context:
space:
mode:
authorpatrick96 <p.ziegler96@gmail.com>2019-12-05 19:35:34 +0100
committerpatrick96 <p.ziegler96@gmail.com>2019-12-05 19:35:34 +0100
commit1e9f870b74cee32af9eb9ea08a06bc997c78cb63 (patch)
tree9c29ac9ce2b0a4e953606058b8558dc9bd6406dc /test/handler/test_vlog_handler.vader
parent5f84325cd811ec179b7f3642652438c6a45b174d (diff)
downloadale-1e9f870b74cee32af9eb9ea08a06bc997c78cb63.zip
verilog: Add filename to vlog linter output
Diffstat (limited to 'test/handler/test_vlog_handler.vader')
-rw-r--r--test/handler/test_vlog_handler.vader12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/handler/test_vlog_handler.vader b/test/handler/test_vlog_handler.vader
index daf3cdcf..7262f63d 100644
--- a/test/handler/test_vlog_handler.vader
+++ b/test/handler/test_vlog_handler.vader
@@ -10,12 +10,14 @@ Execute(The vlog handler should parse old-style lines correctly):
\ {
\ 'lnum': 7,
\ 'type': 'W',
- \ 'text': '(vlog-2623) Undefined variable: C.'
+ \ 'text': '(vlog-2623) Undefined variable: C.',
+ \ 'filename': 'add.v'
\ },
\ {
\ 'lnum': 1,
\ 'type': 'E',
- \ 'text': '(vlog-13294) Identifier must be declared with a port mode: C.'
+ \ 'text': '(vlog-13294) Identifier must be declared with a port mode: C.',
+ \ 'filename': 'file.v'
\ },
\ ],
\ ale_linters#verilog#vlog#Handle(bufnr(''), [
@@ -29,12 +31,14 @@ Execute(The vlog handler should parse new-style lines correctly):
\ {
\ 'lnum': 7,
\ 'type': 'W',
- \ 'text': '(vlog-2623) Undefined variable: C.'
+ \ 'text': '(vlog-2623) Undefined variable: C.',
+ \ 'filename': 'add.v'
\ },
\ {
\ 'lnum': 1,
\ 'type': 'E',
- \ 'text': '(vlog-13294) Identifier must be declared with a port mode: C.'
+ \ 'text': '(vlog-13294) Identifier must be declared with a port mode: C.',
+ \ 'filename': 'file.v'
\ },
\ ],
\ ale_linters#verilog#vlog#Handle(bufnr(''), [