summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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, [