summaryrefslogtreecommitdiff
path: root/test/test_php_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-26 14:51:22 +0000
committerw0rp <devw0rp@gmail.com>2017-02-26 14:51:22 +0000
commitb2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c (patch)
tree009f7b779ad1e800fd4b9c278954e2c81779d6de /test/test_php_handler.vader
parentf1e80b800cc8c8488c9561b0db07304157ae489b (diff)
downloadale-b2fe1b2567a1a1e6a5e2ff805a46fa7f546ce62c.zip
Copy all loclist items returned from handlers, and set up defaults for convenience
Diffstat (limited to 'test/test_php_handler.vader')
-rw-r--r--test/test_php_handler.vader10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/test_php_handler.vader b/test/test_php_handler.vader
index 14e4d60f..c3d76079 100644
--- a/test/test_php_handler.vader
+++ b/test/test_php_handler.vader
@@ -6,47 +6,37 @@ Execute(The php handler should parse lines correctly):
\ {
\ 'bufnr': 347,
\ 'lnum': 47,
- \ 'vcol': 0,
\ 'col': 0,
\ 'text': "syntax error, unexpected ';', expecting ']'",
\ 'type': 'E',
- \ 'nr': -1,
\ },
\ {
\ 'bufnr': 347,
\ 'lnum': 56,
- \ 'vcol': 0,
\ 'col': 0,
\ 'text': "syntax error, unexpected '/', expecting function (T_FUNCTION) or const (T_CONST)",
\ 'type': 'E',
- \ 'nr': -1,
\ },
\ {
\ 'bufnr': 347,
\ 'lnum': 13,
- \ 'vcol': 0,
\ 'col': 0,
\ 'text': "syntax error, unexpected ')'",
\ 'type': 'E',
- \ 'nr': -1,
\ },
\ {
\ 'bufnr': 347,
\ 'lnum': 5,
- \ 'vcol': 0,
\ 'col': 0,
\ 'text': "Invalid numeric literal",
\ 'type': 'E',
- \ 'nr': -1,
\ },
\ {
\ 'bufnr': 347,
\ 'lnum': 21,
- \ 'vcol': 0,
\ 'col': 0,
\ 'text': "syntax error, unexpected end of file",
\ 'type': 'E',
- \ 'nr': -1,
\ },
\ ],
\ ale_linters#php#php#Handle(347, [