summaryrefslogtreecommitdiff
path: root/test/handler/test_checkstyle_handler.vader
diff options
context:
space:
mode:
authorFrederick Zhang <frederick888@tsundere.moe>2021-07-04 22:31:00 +1000
committerGitHub <noreply@github.com>2021-07-04 21:31:00 +0900
commitafcbd1620e741a98a2952b5e7bfd0dd2bdda2c7a (patch)
tree6937088046ee42f88e5d42daf846ae367867a5a2 /test/handler/test_checkstyle_handler.vader
parent9efa96eb9431e43e183a73f91db4c84126880a15 (diff)
downloadale-afcbd1620e741a98a2952b5e7bfd0dd2bdda2c7a.zip
Change checkstyle's output sub_type to style (#3780)
Diffstat (limited to 'test/handler/test_checkstyle_handler.vader')
-rw-r--r--test/handler/test_checkstyle_handler.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/handler/test_checkstyle_handler.vader b/test/handler/test_checkstyle_handler.vader
index c60bbc82..ea90db3f 100644
--- a/test/handler/test_checkstyle_handler.vader
+++ b/test/handler/test_checkstyle_handler.vader
@@ -13,6 +13,7 @@ Execute(The checkstyle handler should parse lines correctly):
\ 'text': '''method def rcurly'' has incorrect indentation level 4, expected level should be 2.',
\ 'code': 'Indentation',
\ 'type': 'W',
+ \ 'sub_type': 'style',
\ },
\ {
\ 'lnum': 63,
@@ -20,6 +21,7 @@ Execute(The checkstyle handler should parse lines correctly):
\ 'text': 'Missing a Javadoc comment.',
\ 'code': 'JavadocMethod',
\ 'type': 'W',
+ \ 'sub_type': 'style',
\ },
\ {
\ 'lnum': 11,
@@ -27,6 +29,7 @@ Execute(The checkstyle handler should parse lines correctly):
\ 'text': 'WhitespaceAround: ''if'' is not followed by whitespace.',
\ 'code': 'WhitespaceAround',
\ 'type': 'W',
+ \ 'sub_type': 'style',
\ },
\ ],
\ ale_linters#java#checkstyle#Handle(666, [
@@ -42,6 +45,7 @@ Execute(The checkstyle handler should parse lines from older checkstyle versions
\ 'lnum': 289,
\ 'text': '''method def modifier'' have incorrect indentation level 4, expected level should be 2.',
\ 'type': 'W',
+ \ 'sub_type': 'style',
\ },
\ ],
\ ale_linters#java#checkstyle#Handle(666, [