This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/handler/test_coffeelint_handler.vader

20 lines
515 B
Text

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