19 lines
506 B
Plaintext
19 lines
506 B
Plaintext
|
Execute(The coffeelint handler should parse lines correctly):
|
||
|
runtime ale_linters/coffee/coffeelint.vim
|
||
|
|
||
|
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.",
|
||
|
\ ])
|
||
|
|
||
|
After:
|
||
|
call ale#linter#Reset()
|