mirror of
https://github.com/dense-analysis/ale
synced 2024-12-26 08:02:25 +00:00
19 lines
444 B
Plaintext
19 lines
444 B
Plaintext
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"}]'
|
|
\ ])
|