summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorLittleKey <LittleKeyRain@gmail.com>2023-07-24 09:37:49 +0800
committerGitHub <noreply@github.com>2023-07-24 10:37:49 +0900
commit969f7b080f900d5751918ea23dfe14ffd3030b76 (patch)
treea6079b625debc331542fe35827d0dac66c55197a /test/handler
parent7ba88ad343c57f69a2fb2469eded51a3bbd4813b (diff)
downloadale-969f7b080f900d5751918ea23dfe14ffd3030b76.zip
Add end_col of matched forbidden word (#4556)
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_cspell_handler.vader9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/handler/test_cspell_handler.vader b/test/handler/test_cspell_handler.vader
index b74b8d22..5b18849c 100644
--- a/test/handler/test_cspell_handler.vader
+++ b/test/handler/test_cspell_handler.vader
@@ -2,12 +2,13 @@ Execute(The cspell handler should handle cspell output):
AssertEqual
\ [
\ {
- \ 'lnum': 721,
- \ 'col': 18,
+ \ 'lnum': 3,
+ \ 'col': 128,
+ \ 'end_col': 133,
\ 'type': 'W',
- \ 'text': 'Unknown word (stylelint)',
+ \ 'text': 'Unknown word (Neovim)',
\ },
\ ],
\ ale#handlers#cspell#Handle(bufnr(''),
- \ '/:721:18 - Unknown word (stylelint)'
+ \ '/:3:128 - Unknown word (Neovim)'
\)