Skip to content

Commit 5cf3fc0

Browse files
committed
cider/piggieback: 0.3.10 -> 0.4.0
1 parent 271e5bf commit 5cf3fc0

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
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

test/clj/cider/nrepl/middleware/inspect_test.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
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")))))

test/cljs/cider/nrepl/middleware/cljs_inspect_test.clj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,7 @@
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")))]

test/cljs/cider/nrepl/piggieback_test.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,4 @@
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))))))

0 commit comments

Comments
 (0)