File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 178
178
(expect (progn
179
179
(string-match cider-clojure-runtime-error-regexp specimen)
180
180
(match-string 2 specimen))
181
- :to-equal " src/haystack/parser.cljc" ))))
181
+ :to-equal " src/haystack/parser.cljc" )))
182
+
183
+ ; ; Java source locations may be negative (#3687)
184
+ (it " Recognizes an error thrown from a java source file"
185
+ (let ((specimen " Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2)." ))
186
+ (expect specimen :to-match cider-clojure-runtime-error-regexp)
187
+ (expect (progn
188
+ (string-match cider-clojure-runtime-error-regexp specimen)
189
+ (match-string 2 specimen))
190
+ :to-equal " FileInputStream.java" ))))
182
191
183
192
(describe " cider-module-info-regexp"
184
193
(it " Matches module info provided by Java"
You can’t perform that action at this time.
0 commit comments