install.fairie/dotfiles/.vim/plugged/ale/test/handler/test_rflint_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

33 lines
811 B
Text

Before:
runtime ale_linters/robot/rflint.vim
After:
call ale#linter#Reset()
Execute(Warning and error messages should be handled correctly):
AssertEqual
\ [
\ {
\ 'bufnr': 1,
\ 'filename': 'test.robot',
\ 'type': 'W',
\ 'lnum': 1,
\ 'col': 2,
\ 'text': 'RequireSuiteDocumentation',
\ 'detail': 'No suite documentation',
\ },
\ {
\ 'bufnr': 1,
\ 'filename': 'test.robot',
\ 'type': 'E',
\ 'lnum': 3,
\ 'col': 4,
\ 'text': 'RequireTestDocumentation',
\ 'detail': 'No testcase documentation',
\ },
\ ],
\ ale_linters#robot#rflint#Handle(1, [
\ 'test.robot:W:1:2:RequireSuiteDocumentation:No suite documentation',
\ 'test.robot:E:3:4:RequireTestDocumentation:No testcase documentation'
\])