summaryrefslogtreecommitdiff
path: root/test/handler/test_fortran_handler.vader
blob: 50ed5a1874d496e37f664ef4f129bac4787547b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Before:
  runtime ale_linters/fortran/gcc.vim

After:
  call ale#linter#Reset()

Execute(The fortran handler should parse lines from GCC 6.3.1 correctly):
  AssertEqual
  \ [
  \   {
  \     'bufnr': 337,
  \     'lnum': 3,
  \     'col': 12,
  \     'text': "Symbol ‘a’ at (1) has no IMPLICIT type",
  \     'type': 'E',
  \   },
  \   {
  \     'bufnr': 337,
  \     'lnum': 4,
  \     'col': 12,
  \     'text': "Symbol ‘b’ at (1) has no IMPLICIT type",
  \     'type': 'E',
  \   },
  \ ],
  \ ale_linters#fortran#gcc#Handle(337, [
  \   "<stdin>:3:12:",
  \   "",
  \   "Error: Symbol ‘a’ at (1) has no IMPLICIT type",
  \   "<stdin>:4:12:",
  \   "",
  \   "Error: Symbol ‘b’ at (1) has no IMPLICIT type",
  \ ])