File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed
clj/cider/nrepl/middleware Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 7979 :test {:source-paths [" test/src" ]
8080 :java-source-paths [" test/java" ]
8181 :resource-paths [" test/resources" ]
82- :dependencies [[cider/piggieback " 0.3.10 " ]]}
82+ :dependencies [[cider/piggieback " 0.4.0 " ]]}
8383
8484 ; ; Need ^:repl because of: https://github.com/technomancy/leiningen/issues/2132
8585 :repl ^:repl [:test
Original file line number Diff line number Diff line change 7979 (is (= " class java.lang.IllegalArgumentException"
8080 (:ex exception-response))))
8181
82- ; ;TODO: The :err slot is missing when running this through the Cider test-runner
8382 (testing " exprs that throw exceptions return an `err` slot"
8483 (is (.contains (:err exception-response)
8584 " IllegalArgumentException" )))))
Original file line number Diff line number Diff line change 8585
8686 (testing " exprs that throw exceptions return an `ex` slot"
8787 (is (= " class clojure.lang.ExceptionInfo"
88- (:ex exception-response))))
89-
90- ; ;TODO: The :err slot is missing when running this through the Cider test-runner
91- (testing " exprs that throw exceptions return an `err` slot"
92- (is (re-find #"1 is not ISeqable" (:err exception-response))))))
88+ (:ex exception-response))))))
9389
9490 (testing " inspect-pop error handling"
9591 (with-redefs [i/swap-inspector! (fn [& _] (throw (Exception. " pop exception" )))]
Original file line number Diff line number Diff line change 5252 (is (= " class clojure.lang.ExceptionInfo"
5353 (:ex response)
5454 (:root-ex response)))
55- (is (string? (:err response)))
5655 (is (= #{" eval-error" " done" } (:status response))))))
You can’t perform that action at this time.
0 commit comments