File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 124
124
(expect (progn (string-match cider-clojure-compilation-regexp clojure-compiler-warning)
125
125
(match-string 1 clojure-compiler-warning))
126
126
:to-equal " warning" )))
127
+ ; ; FIXME: duplicate spec names
127
128
(dolist (regexp (list cider-clojure-compilation-regexp cider-clojure-compilation-error-regexp))
128
129
(it " Recognizes a clojure-1.10 error message"
129
130
(let ((clojure-1.10-compiler-error " Syntax error compiling at (src/ardoq/service/workspace_service.clj:227:3)." ))
156
157
(match-string 2 specimen))
157
158
:to-equal " src/haystack/parser.cljc" ))
158
159
159
- ; ; without foo/foo symbol
160
+ ; ; without exception class cause-type
160
161
(let ((specimen " Execution error at (src/haystack/parser.cljc:4)." ))
161
162
(expect specimen :to-match cider-clojure-runtime-error-regexp)
162
163
(expect (progn
187
188
(expect (progn
188
189
(string-match cider-clojure-runtime-error-regexp specimen)
189
190
(match-string 2 specimen))
190
- :to-equal " FileInputStream.java" ))))
191
+ :to-equal " FileInputStream.java" )))
192
+
193
+ (it " Recognizes errors thrown during the result printing phase"
194
+ (let ((specimen " Error printing return value (ClassCastException) at clojure.core/file-seq$fn (core.clj:4997)." ))
195
+ (expect specimen :to-match cider-clojure-runtime-error-regexp)
196
+ (expect (progn
197
+ (string-match cider-clojure-runtime-error-regexp specimen)
198
+ (match-string 2 specimen))
199
+ :to-equal " core.clj" ))))
191
200
192
201
(describe " cider-module-info-regexp"
193
202
(it " Matches module info provided by Java"
You can’t perform that action at this time.
0 commit comments