summaryrefslogtreecommitdiff
path: root/test/handler/test_cspell_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_cspell_handler.vader')
-rw-r--r--test/handler/test_cspell_handler.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/handler/test_cspell_handler.vader b/test/handler/test_cspell_handler.vader
new file mode 100644
index 00000000..b74b8d22
--- /dev/null
+++ b/test/handler/test_cspell_handler.vader
@@ -0,0 +1,13 @@
+Execute(The cspell handler should handle cspell output):
+ AssertEqual
+ \ [
+ \ {
+ \ 'lnum': 721,
+ \ 'col': 18,
+ \ 'type': 'W',
+ \ 'text': 'Unknown word (stylelint)',
+ \ },
+ \ ],
+ \ ale#handlers#cspell#Handle(bufnr(''),
+ \ '/:721:18 - Unknown word (stylelint)'
+ \)