blob: a7b7f3abe4402db6d7dbb7a2d649eb70526f61a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Before:
runtime ale_linters/crystal/crystal.vim
After:
call ale#linter#Reset()
Execute(The crystal handler should parse lines correctly and add the column if it can):
AssertEqual
\ [
\ {
\ 'lnum': 2,
\ 'col': 1,
\ 'text': 'unexpected token: EOF'
\ }
\ ],
\ ale_linters#crystal#crystal#Handle(255, [
\ '[{"file":"/tmp/test.cr","line":2,"column":1,"size":null,"message":"unexpected token: EOF"}]'
\ ])
|