2017-11-15 12:21:17 -05:00
|
|
|
Before:
|
2017-03-13 07:09:49 -04:00
|
|
|
runtime ale_linters/coffee/coffeelint.vim
|
|
|
|
|
2017-11-15 12:21:17 -05:00
|
|
|
After:
|
|
|
|
call ale#linter#Reset()
|
|
|
|
|
|
|
|
Execute(The coffeelint handler should parse lines correctly):
|
|
|
|
|
2017-03-13 07:09:49 -04:00
|
|
|
AssertEqual
|
|
|
|
\ [
|
|
|
|
\ {
|
|
|
|
\ 'lnum': 125,
|
|
|
|
\ 'text': "Line exceeds maximum allowed length Length is 122, max is 120.",
|
|
|
|
\ 'type': 'E',
|
|
|
|
\ },
|
|
|
|
\ ],
|
|
|
|
\ ale_linters#coffee#coffeelint#Handle(347, [
|
|
|
|
\ "path,lineNumber,lineNumberEnd,level,message",
|
|
|
|
\ "stdin,125,,error,Line exceeds maximum allowed length Length is 122, max is 120.",
|
|
|
|
\ ])
|