File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 58
58
true ))
59
59
(alter-meta! #'update-vals merge {:indent 1 :cider-instrumented 2 :something-else 3 })
60
60
(is (= (s/relevant-meta #'update-vals)
61
- {:cider-instrumented 2 , :indent 1 })))
61
+ {:cider-instrumented 2 , :indent 1 , :test ( :test ( meta #'update-vals)) })))
62
62
63
63
(deftest ns-as-map
64
64
(alter-meta! #'update-vals
65
65
merge {:indent 1 :cider-instrumented 2 :something-else 3 })
66
66
(let [{:keys [interns aliases] :as ns } (s/ns-as-map (find-ns 'cider.nrepl.middleware.track-state-test))]
67
67
(is (= (count ns ) 3 ))
68
68
(is (> (count interns) 4 ))
69
- (is (= (interns 'update-vals)
70
- ' {:cider-instrumented 2 , :indent 1 }))
69
+ (is (= (into #{} ( keys ( interns 'update-vals)) )
70
+ # {:cider-instrumented :indent :test }))
71
71
(is (> (count aliases) 2 ))
72
72
(is (= (aliases 's)
73
73
'cider.nrepl.middleware.track-state))))
You can’t perform that action at this time.
0 commit comments