blob: f2a105ee578e7e3208dade055a0968f46d8c55fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Execute(The statix handler should handle statix output):
call ale#test#SetFilename('flake.nix')
AssertEqual
\ [
\ {
\ 'lnum': 46,
\ 'type': 'W',
\ 'col': 13,
\ 'code': '3',
\ 'text': 'This assignment is better written with `inherit`'
\ },
\ ],
\ ale#handlers#statix#Handle(bufnr(''),
\ '<stdin>>46:13:W:3:This assignment is better written with `inherit`'
\)
|