summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 12:30:20 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 12:30:20 +0000
commitd7a60ade77a30d4eed517030a0c50a5eee059be0 (patch)
tree289dfbc179c02baa061688785b2334a0dd9ebfe4 /test/handler
parent01b2971d0432d6d25af0c592b4e0b2fdc7adcf7d (diff)
downloadale-d7a60ade77a30d4eed517030a0c50a5eee059be0.zip
#852 - Capture error codes for stylelint
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_stylelint_handler.vader6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/handler/test_stylelint_handler.vader b/test/handler/test_stylelint_handler.vader
index 69de1ee4..5cb34601 100644
--- a/test/handler/test_stylelint_handler.vader
+++ b/test/handler/test_stylelint_handler.vader
@@ -10,13 +10,15 @@ Execute (stylelint errors should be handled correctly):
\ 'lnum': 108,
\ 'col': 10,
\ 'type': 'E',
- \ 'text': 'Unexpected leading zero [number-leading-zero]',
+ \ 'text': 'Unexpected leading zero',
+ \ 'code': 'number-leading-zero',
\ },
\ {
\ 'lnum': 116,
\ 'col': 20,
\ 'type': 'E',
- \ 'text': 'Expected a trailing semicolon [declaration-block-trailing-semicolon]',
+ \ 'text': 'Expected a trailing semicolon',
+ \ 'code': 'declaration-block-trailing-semicolon',
\ },
\ ],
\ ale#handlers#css#HandleStyleLintFormat(42, [