diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-19 12:30:20 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-19 12:30:20 +0000 |
commit | d7a60ade77a30d4eed517030a0c50a5eee059be0 (patch) | |
tree | 289dfbc179c02baa061688785b2334a0dd9ebfe4 /test | |
parent | 01b2971d0432d6d25af0c592b4e0b2fdc7adcf7d (diff) | |
download | ale-d7a60ade77a30d4eed517030a0c50a5eee059be0.zip |
#852 - Capture error codes for stylelint
Diffstat (limited to 'test')
-rw-r--r-- | test/handler/test_stylelint_handler.vader | 6 |
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, [ |