Skip to content

Commit 65f9a5b

Browse files
committed
Hopefully make render sio test less fragile
1 parent 3745cf8 commit 65f9a5b

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

test/tawny/render_sio_test.clj

+14-9
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,20 @@
6262
(=
6363
(do
6464
(require 'clojure.set)
65-
(println
66-
"Difference in Size:"
67-
(clojure.set/difference (into (hash-set) (.getSignature sio))
68-
(into (hash-set) (.getSignature sio-rendered))))
69-
(print "sio:" (count (.getSignature sio)))
70-
(print "ren:" (count (.getSignature sio-rendered)))
71-
(count (.getSignature sio)))
72-
;; to account for the annotation Pproperty
73-
(count (.getSignature sio-rendered)))))
65+
;; (println
66+
;; "Difference in signature:"
67+
;; (clojure.set/difference (into (hash-set) (.getSignature sio))
68+
;; (into (hash-set) (.getSignature sio-rendered))))
69+
;; (let [s (into (sorted-set) (.getSignature sio))
70+
;; r (into (sorted-set) (.getSignature sio-rendered))
71+
;; ]
72+
;; (doseq [i
73+
;; (map vector s r)]
74+
;; (println (get i 0) "\t" (get i 1))))
75+
;; (print "sio:" (count (.getSignature sio)) "\n")
76+
;; (print "ren:" (count (.getSignature sio-rendered)) "\n")
77+
(count (remove #(.isBuiltIn %) (.getSignature sio))))
78+
(count (remove #(.isBuiltIn %) (.getSignature sio-rendered))))))
7479

7580
(deftest classes
7681
(is

0 commit comments

Comments
 (0)