summaryrefslogtreecommitdiff
path: root/test/handler/test_common_handlers.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-18 23:15:23 +0000
committerw0rp <devw0rp@gmail.com>2017-11-18 23:15:23 +0000
commitcefc5dc5b8fc7cec75222f3cd4d090c1bd48f796 (patch)
treef8f134e90d2697e3c2d2a654e30bf4e6221b13d7 /test/handler/test_common_handlers.vader
parent2b50e68c7e2fb5df831f83ba89a7bd088629e1aa (diff)
downloadale-cefc5dc5b8fc7cec75222f3cd4d090c1bd48f796.zip
#852 - Capture error codes for csslint
Diffstat (limited to 'test/handler/test_common_handlers.vader')
-rw-r--r--test/handler/test_common_handlers.vader6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/handler/test_common_handlers.vader b/test/handler/test_common_handlers.vader
index 65026d80..ee29da36 100644
--- a/test/handler/test_common_handlers.vader
+++ b/test/handler/test_common_handlers.vader
@@ -5,13 +5,15 @@ Execute(HandleCSSLintFormat should handle CSS errors):
\ 'lnum': 2,
\ 'col': 1,
\ 'type': 'E',
- \ 'text': '(errors) Expected RBRACE at line 2, col 1.',
+ \ 'text': 'Expected RBRACE at line 2, col 1.',
+ \ 'code': 'errors',
\ },
\ {
\ 'lnum': 2,
\ 'col': 5,
\ 'type': 'W',
- \ 'text': '(known-properties) Expected ... but found ''wat''.',
+ \ 'text': 'Expected ... but found ''wat''.',
+ \ 'code': 'known-properties',
\ },
\ ],
\ ale#handlers#css#HandleCSSLintFormat(42, [