Merge pull request #393 from naoina/fix-coffeelint-pattern

Fix pattern of output for coffeelint
This commit is contained in:
w0rp
2017-03-13 23:18:06 +00:00
committed by GitHub
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
Execute(The coffeelint handler should parse lines correctly):
runtime ale_linters/coffee/coffeelint.vim
AssertEqual
\ [
\ {
\ 'bufnr': 347,
\ 'lnum': 125,
\ 'col': 1,
\ '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()