We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0560afa commit 10c7b6dCopy full SHA for 10c7b6d
test/orchard/pp/pp_record_test.clj
@@ -1,13 +1,13 @@
1
(ns orchard.pp.pp-record-test
2
(:require [clojure.test :refer [deftest is]]
3
- [orchard.pp.test :refer [pp]]))
+ [orchard.pp.test :refer [pp replace-crlf]]))
4
5
(defrecord R [x])
6
7
(deftest pprint-record
8
;; unlike pr, clojure.pprint doesn't print records with the
9
;; fully-qualified record name in the prefix.
10
- (is (= (with-out-str (prn (->R 1))) (pp (->R 1))))
+ (is (= (replace-crlf (with-out-str (prn (->R 1)))) (pp (->R 1))))
11
12
(is (= "#orchard.pp.pp_record_test.R{:x
13
{:a
0 commit comments