summaryrefslogtreecommitdiff
path: root/test/handler/test_redpen_handler.vader
diff options
context:
space:
mode:
authorrhysd <lin90162@yahoo.co.jp>2017-11-21 15:41:19 +0900
committerrhysd <lin90162@yahoo.co.jp>2017-11-21 15:49:04 +0900
commitd465b7136277d2dbf2b2fd905711eecc3a355475 (patch)
treeb17de7e1e99715066b3c6c9e18c5553aa7baed6e /test/handler/test_redpen_handler.vader
parent7ea3aba5e587f1993c0377ed270b5cbd823e3711 (diff)
downloadale-d465b7136277d2dbf2b2fd905711eecc3a355475.zip
redpen: use 'code' key to show validator
instead of embedding it into text
Diffstat (limited to 'test/handler/test_redpen_handler.vader')
-rw-r--r--test/handler/test_redpen_handler.vader6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/handler/test_redpen_handler.vader b/test/handler/test_redpen_handler.vader
index 46276144..f28d6923 100644
--- a/test/handler/test_redpen_handler.vader
+++ b/test/handler/test_redpen_handler.vader
@@ -12,14 +12,16 @@ Execute(redpen handler should handle errors output):
\ 'col': 10,
\ 'end_lnum': 1,
\ 'end_col': 15,
- \ 'text': 'Found possibly misspelled word "plugin". (Spelling)',
+ \ 'text': 'Found possibly misspelled word "plugin".',
\ 'type': 'W',
+ \ 'code': 'Spelling',
\ },
\ {
\ 'lnum': 1,
\ 'col': 1,
- \ 'text': 'Found possibly misspelled word "NeoVim". (Spelling)',
+ \ 'text': 'Found possibly misspelled word "NeoVim".',
\ 'type': 'W',
+ \ 'code': 'Spelling',
\ },
\ ],
\ ale#handlers#redpen#HandleRedpenOutput(bufnr(''), [