File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 222
222
(with-out-str
223
223
; ;(prn {:ed ed})
224
224
(doseq [{:keys [path pred val reason via in] :as prob} problems]
225
- (when-not (empty? in)
226
- (print " In:" (pr-str in) " " ))
227
- (print " val: " )
228
225
(pr val)
229
- (print " fails" )
230
- (when-not (empty? via)
231
- (print " spec:" (pr-str (last via))))
226
+ (print " - failed: " )
227
+ (if reason (print reason) (pr (abbrev pred)))
228
+ (when-not (empty? in)
229
+ (print (str " in: " (pr-str in))))
232
230
(when-not (empty? path)
233
- (print " at:" (pr-str path)))
234
- (print " predicate: " )
235
- (pr (abbrev pred))
236
- (when reason (print " , " reason))
231
+ (print (str " at: " (pr-str path))))
232
+ (when-not (empty? via)
233
+ (print (str " spec: " (pr-str (last via)))))
237
234
(doseq [[k v] prob]
238
235
(when-not (#{:path :pred :val :reason :via :in } k)
239
236
(print " \n\t " (pr-str k) " " )
You can’t perform that action at this time.
0 commit comments