diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-19 01:08:20 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-19 01:08:20 +0000 |
commit | 01b2971d0432d6d25af0c592b4e0b2fdc7adcf7d (patch) | |
tree | 30a140041081c759bdf4e7219dba2516adb6b483 /test/handler | |
parent | 7123f7236b5415c29f1b48c01d2528f71c457be2 (diff) | |
download | ale-01b2971d0432d6d25af0c592b4e0b2fdc7adcf7d.zip |
#852 - Capture error codes for slim-lint
Diffstat (limited to 'test/handler')
-rw-r--r-- | test/handler/test_slim_handler.vader | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/handler/test_slim_handler.vader b/test/handler/test_slim_handler.vader index e8b6dcd6..bfd29f3a 100644 --- a/test/handler/test_slim_handler.vader +++ b/test/handler/test_slim_handler.vader @@ -11,12 +11,14 @@ Execute(The slim handler should parse lines correctly): \ [ \ { \ 'lnum': 1, - \ 'text': 'RedundantDiv: `div` is redundant when class attribute shortcut is present', + \ 'text': '`div` is redundant when class attribute shortcut is present', + \ 'code': 'RedundantDiv', \ 'type': 'W', \ }, \ { \ 'lnum': 2, - \ 'text': 'LineLength: Line is too long. [136/80]', + \ 'text': 'Line is too long. [136/80]', + \ 'code': 'LineLength', \ 'type': 'W', \ }, \ { |