install.fairie/dotfiles/.vim/plugged/ale/test/handler/test_fecs_handler.vader
Git E2E Dev Test Username e149692cc9 git subrepo clone https://github.com/dense-analysis/ale.git ./dotfiles/.vim/plugged/ale
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:   "???"
2022-10-18 10:37:09 -04:00

35 lines
860 B
Text

Before:
runtime autoload/ale/handlers/fecs.vim
After:
call ale#linter#Reset()
Execute(fecs should parse lines correctly):
AssertEqual
\ [
\ {
\ 'lnum': 20,
\ 'col': 25,
\ 'text': 'Unexpected console statement.',
\ 'code': 'no-console',
\ 'type': 'W',
\ },
\ {
\ 'lnum': 24,
\ 'col': 36,
\ 'text': 'Missing radix parameter.',
\ 'code': 'radix',
\ 'type': 'E',
\ },
\ {
\ 'lnum': 25,
\ 'col': 6,
\ 'text': 'Missing static property value.',
\ 'type': 'E',
\ },
\ ],
\ ale#handlers#fecs#Handle(347, [
\ 'fecs WARN → line 20, col 25: Unexpected console statement. (no-console)',
\ 'fecs ERROR → line 24, col 36: Missing radix parameter. (radix)',
\ 'fecs ERROR → line 25, col 6: Missing static property value.',
\ ])