]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/ale/test/handler/test_standard_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_standard_handler.vader
1 Before:
2   Save g:ale_javascript_eslint_suppress_eslintignore
3
4   let g:ale_javascript_eslint_suppress_eslintignore = 0
5
6 After:
7   Restore
8
9 Execute(The standard handler should parse lines correctly):
10   AssertEqual
11   \ [
12   \   {
13   \     'lnum': 47,
14   \     'col': 14,
15   \     'text': 'Expected indentation of 2 spaces but found 4.',
16   \     'type': 'E',
17   \   },
18   \   {
19   \     'lnum': 56,
20   \     'col': 41,
21   \     'text': 'Strings must use singlequote.',
22   \     'type': 'E',
23   \   },
24   \   {
25   \     'lnum': 13,
26   \     'col': 3,
27   \     'text': 'Parsing error: Unexpected token',
28   \     'type': 'E',
29   \   },
30   \ ],
31   \ ale#handlers#eslint#Handle(347, [
32   \   'This line should be ignored completely',
33   \   '/path/to/some-filename.js:47:14: Expected indentation of 2 spaces but found 4.',
34   \   '/path/to/some-filename.js:56:41: Strings must use singlequote.',
35   \   'This line should be ignored completely',
36   \   '/path/to/some-filename.js:13:3: Parsing error: Unexpected token',
37   \ ])