test_cmake_lint_handler.vader
1 Before: 2 runtime ale_linters/cmake/cmake_lint.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(The cmake_lint handler should handle basic warnings): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 126, 12 \ 'col': 0, 13 \ 'type': 'W', 14 \ 'code': 'C0301', 15 \ 'text': 'Line too long (136/80)', 16 \ }, 17 \ { 18 \ 'lnum': 139, 19 \ 'col': 4, 20 \ 'type': 'W', 21 \ 'code': 'C0113', 22 \ 'text': 'Missing COMMENT in statement which allows it', 23 \ }, 24 \ ], 25 \ ale_linters#cmake#cmake_lint#Handle(1, [ 26 \ 'CMakeLists.txt:126: [C0301] Line too long (136/80)', 27 \ 'CMakeLists.txt:139,04: [C0113] Missing COMMENT in statement which allows it', 28 \ ])