test_cpplint_handler.vader
1 Before: 2 runtime ale_linters/cpp/cpplint.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(cpplint warnings from included files should be parsed correctly): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 5, 12 \ 'col': 0, 13 \ 'text': 'Extra space after ( in function call', 14 \ 'code': 'whitespace/parents', 15 \ 'type': 'W', 16 \ }, 17 \ { 18 \ 'lnum': 120, 19 \ 'col': 0, 20 \ 'text': 'At least two spaces is best between code and comments', 21 \ 'code': 'whitespace/comments', 22 \ 'type': 'W', 23 \ }, 24 \ ], 25 \ ale#handlers#cpplint#HandleCppLintFormat(347, [ 26 \ 'test.cpp:5: Extra space after ( in function call [whitespace/parents] [4]', 27 \ 'keymap_keys.hpp:120: At least two spaces is best between code and comments [whitespace/comments] [2]', 28 \ ])