diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-08-02 18:37:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 18:37:31 +0100 |
commit | db531171acd9064f91a4f8d6c31d8037ee01e8c5 (patch) | |
tree | 3477bbbafeb75437552b11b82346a9dca416fe60 /test/handler | |
parent | d6557b2c5c79fd3c846a5fc83897bca010af1e79 (diff) | |
parent | bc1cf285c264a463f1a5cb4e8d31f8dfea7cdfbc (diff) | |
download | ale-db531171acd9064f91a4f8d6c31d8037ee01e8c5.zip |
Merge pull request #820 from junegunn/rubocop-cop-name
Rubocop: Show cop name
Diffstat (limited to 'test/handler')
-rw-r--r-- | test/handler/test_rubocop_handler.vader | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handler/test_rubocop_handler.vader b/test/handler/test_rubocop_handler.vader index fffee7bb..4d3bbe29 100644 --- a/test/handler/test_rubocop_handler.vader +++ b/test/handler/test_rubocop_handler.vader @@ -12,28 +12,28 @@ Execute(The rubocop handler should parse lines correctly): \ 'lnum': 83, \ 'col': 29, \ 'end_col': 35, - \ 'text': 'Prefer single-quoted strings...', + \ 'text': 'Prefer single-quoted strings... [Style/SomeCop]', \ 'type': 'W', \ }, \ { \ 'lnum': 12, \ 'col': 2, \ 'end_col': 2, - \ 'text': 'Some error', + \ 'text': 'Some error [Style/SomeOtherCop]', \ 'type': 'E', \ }, \ { \ 'lnum': 10, \ 'col': 5, \ 'end_col': 12, - \ 'text': 'Regular warning', + \ 'text': 'Regular warning [Style/WarningCop]', \ 'type': 'W', \ }, \ { \ 'lnum': 11, \ 'col': 1, \ 'end_col': 1, - \ 'text': 'Another error', + \ 'text': 'Another error [Style/SpaceBeforeBlockBraces]', \ 'type': 'E', \ }, \ ], |