/ test / handler / test_fortran_handler.vader
test_fortran_handler.vader
 1  Before:
 2    runtime ale_linters/fortran/gcc.vim
 3  
 4  After:
 5    call ale#linter#Reset()
 6  
 7  Execute(The fortran handler should parse lines from GCC 6.3.1 correctly):
 8    AssertEqual
 9    \ [
10    \   {
11    \     'bufnr': 337,
12    \     'lnum': 3,
13    \     'col': 12,
14    \     'text': "Symbol ‘a’ at (1) has no IMPLICIT type",
15    \     'type': 'E',
16    \   },
17    \   {
18    \     'bufnr': 337,
19    \     'lnum': 4,
20    \     'col': 12,
21    \     'text': "Symbol ‘b’ at (1) has no IMPLICIT type",
22    \     'type': 'E',
23    \   },
24    \ ],
25    \ ale_linters#fortran#gcc#Handle(337, [
26    \   "<stdin>:3:12:",
27    \   "",
28    \   "Error: Symbol ‘a’ at (1) has no IMPLICIT type",
29    \   "<stdin>:4:12:",
30    \   "",
31    \   "Error: Symbol ‘b’ at (1) has no IMPLICIT type",
32    \ ])