summaryrefslogtreecommitdiff
path: root/test/handler/test_xvlog_handler.vader
blob: 2e1f83fc792fe61265d28db34a281310aec5fc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Before:
  runtime ale_linters/verilog/xvlog.vim

After:
  call ale#linter#Reset()

Execute(The xvlog handler should parse lines correctly):
  AssertEqual
  \ [
  \   {
  \     'lnum': 5,
  \     'type': 'E',
  \     'text': '[VRFC 10-1412] syntax error near output '
  \   },
  \ ],
  \ ale_linters#verilog#xvlog#Handle(bufnr(''), [
  \   'ERROR: [VRFC 10-1412] syntax error near output [/path/to/file.v:5]',
  \ ])