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

29 lines
796 B
Text

Before:
runtime ale_linters/cpp/cpplint.vim
After:
call ale#linter#Reset()
Execute(cpplint warnings from included files should be parsed correctly):
AssertEqual
\ [
\ {
\ 'lnum': 5,
\ 'col': 0,
\ 'text': 'Extra space after ( in function call',
\ 'code': 'whitespace/parents',
\ 'type': 'W',
\ },
\ {
\ 'lnum': 120,
\ 'col': 0,
\ 'text': 'At least two spaces is best between code and comments',
\ 'code': 'whitespace/comments',
\ 'type': 'W',
\ },
\ ],
\ ale#handlers#cpplint#HandleCppLintFormat(347, [
\ 'test.cpp:5: Extra space after ( in function call [whitespace/parents] [4]',
\ 'keymap_keys.hpp:120: At least two spaces is best between code and comments [whitespace/comments] [2]',
\ ])