hyperfiddle / rcf

RCF – a REPL-first, async test macro for Clojure/Script
MIT License
278 stars 12 forks source link

No way to check ex-data on an error #80

Open dustingetz opened 1 year ago

dustingetz commented 1 year ago
(tests
  (throw ...) :throws Exception
  (ex-data *e) := ...)

https://clojurians.slack.com/archives/C7Q9GSHFV/p1694471863365209

Should *e be bound by :throws ?

ieugen commented 1 year ago

I would also like to check data attached to an exception .