Skip to content

Commit 15e4aab

Browse files
committed
Add a docstring
1 parent 24fd2ff commit 15e4aab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cider/nrepl/middleware/test.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
6363
(filter #(= (:class %) (.getName (class f))))
6464
(first)))
6565

66-
(defn- print-object [object]
66+
(defn- print-object
67+
"Print `object` using pprint or a custom print-method, if available."
68+
[object]
6769
(let [print-fn (if (= (get-method print-method (:type (meta object)))
6870
(get-method print-method :default))
6971
pp/pprint

0 commit comments

Comments
 (0)