test_ghdl_handler.vader
1 Before: 2 runtime ale_linters/vhdl/ghdl.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(The ghdl handler should parse lines correctly): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 41, 12 \ 'col' : 5, 13 \ 'type': 'E', 14 \ 'text': "error: 'begin' is expected instead of 'if'" 15 \ }, 16 \ { 17 \ 'lnum': 12, 18 \ 'col' : 8, 19 \ 'type': 'E', 20 \ 'text': ' no declaration for "i0"' 21 \ }, 22 \ ], 23 \ ale_linters#vhdl#ghdl#Handle(bufnr(''), [ 24 \ "dff_en.vhd:41:5:error: 'begin' is expected instead of 'if'", 25 \ '/path/to/file.vhdl:12:8: no declaration for "i0"', 26 \ ])