]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/ale/test/handler/test_fecs_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:

Merge commit 'd49e95aa7ba744f0a7f544aca43afdb6aab41f24' as '.vim/bundle/asyncomplete...
[etc/vim.git] / .vim / bundle / ale / test / handler / test_fecs_handler.vader
1 Before:
2   runtime autoload/ale/handlers/fecs.vim
3
4 After:
5   call ale#linter#Reset()
6
7 Execute(fecs should parse lines correctly):
8   AssertEqual
9   \ [
10   \   {
11   \     'lnum': 20,
12   \     'col': 25,
13   \     'text': 'Unexpected console statement.',
14   \     'code': 'no-console',
15   \     'type': 'W',
16   \   },
17   \   {
18   \     'lnum': 24,
19   \     'col': 36,
20   \     'text': 'Missing radix parameter.',
21   \     'code': 'radix',
22   \     'type': 'E',
23   \   },
24   \   {
25   \     'lnum': 25,
26   \     'col': 6,
27   \     'text': 'Missing static property value.',
28   \     'type': 'E',
29   \   },
30   \ ],
31   \ ale#handlers#fecs#Handle(347, [
32   \   'fecs  WARN → line 20, col 25: Unexpected console statement.     (no-console)',
33   \   'fecs ERROR → line 24, col 36: Missing radix parameter.  (radix)',
34   \   'fecs ERROR → line 25, col 6: Missing static property value.',
35   \ ])