e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
26 lines
513 B
Text
26 lines
513 B
Text
Before:
|
|
runtime ale_linters/pyrex/cython.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The cython handler should handle warnings and errors):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 42,
|
|
\ 'col': 7,
|
|
\ 'text': 'some warning',
|
|
\ 'type': 'W',
|
|
\ },
|
|
\ {
|
|
\ 'lnum': 777,
|
|
\ 'col': 21,
|
|
\ 'text': 'some error',
|
|
\ 'type': 'E',
|
|
\ },
|
|
\ ],
|
|
\ ale_linters#pyrex#cython#Handle(347, [
|
|
\ 'warning: file:42:7: some warning',
|
|
\ 'file:777:21: some error',
|
|
\ ])
|