summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdriaan Zonnenberg <amz@adriaan.xyz>2017-05-17 21:28:29 +0200
committerAdriaan Zonnenberg <amz@adriaan.xyz>2017-05-17 21:28:29 +0200
commit05970e1b28fdac59df04f11b85ccac3b65362bc7 (patch)
tree56c430117fa620d8eadf241ced23ef17b10917b9 /test
parent6299da7bd39790ca996516f46f09482585fb9035 (diff)
downloadale-05970e1b28fdac59df04f11b85ccac3b65362bc7.zip
Add end columns on php linter #538
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_php_handler.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/handler/test_php_handler.vader b/test/handler/test_php_handler.vader
index c4f9944f..0d4d4278 100644
--- a/test/handler/test_php_handler.vader
+++ b/test/handler/test_php_handler.vader
@@ -14,21 +14,25 @@ Execute(The php handler should calculate column numbers):
\ {
\ 'lnum': 1,
\ 'col': 5,
+ \ 'end_col': 5,
\ 'text': "syntax error, unexpected ';', expecting ']'",
\ },
\ {
\ 'lnum': 2,
\ 'col': 13,
+ \ 'end_col': 13,
\ 'text': "syntax error, unexpected '/', expecting function (T_FUNCTION) or const (T_CONST)",
\ },
\ {
\ 'lnum': 3,
\ 'col': 5,
+ \ 'end_col': 5,
\ 'text': "syntax error, unexpected ')'",
\ },
\ {
\ 'lnum': 4,
\ 'col': 8,
+ \ 'end_col': 12,
\ 'text': "syntax error, unexpected ''bar'' (T_CONSTANT_ENCAPSED_STRING), expecting ']'",
\ },
\ ],