summaryrefslogtreecommitdiff
path: root/test/handler/test_clojure_clj_kondo_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_clojure_clj_kondo_handler.vader')
-rw-r--r--test/handler/test_clojure_clj_kondo_handler.vader14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/handler/test_clojure_clj_kondo_handler.vader b/test/handler/test_clojure_clj_kondo_handler.vader
index 45db9049..9ae70668 100644
--- a/test/handler/test_clojure_clj_kondo_handler.vader
+++ b/test/handler/test_clojure_clj_kondo_handler.vader
@@ -73,3 +73,17 @@ Execute(the clojure clj-kondo handler should be able to handle windows files):
\ ale_linters#clojure#clj_kondo#HandleCljKondoFormat(0, [
\ 'C:\my\operating\system\is\silly\core.clj:123:44: error: Unexpected )',
\ ])
+
+Execute(the clojure clj-kondo handler should be able to lines without row/col):
+ AssertEqual
+ \ [
+ \ {
+ \ 'lnum': 0,
+ \ 'col': 0,
+ \ 'type': 'E',
+ \ 'text': 'error: Unexpected )',
+ \ },
+ \ ],
+ \ ale_linters#clojure#clj_kondo#HandleCljKondoFormat(0, [
+ \ 'test.clj::: error: Unexpected )',
+ \ ])