]> git.madduck.net Git - etc/vim.git/blob - test/handler/test_cmake_lint_handler.vader

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Squashed '.vim/bundle/ale/' content from commit 22185c4c
[etc/vim.git] / test / handler / 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   \ ])