Permalink
Browse files

need throwable here, then all's well

  • Loading branch information...
1 parent 244607f commit 1c150d3c064b772182f712f85d1180f7f5481125 Jay Fields committed Mar 16, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/clojure/expectations.clj
  2. +1 −1 test/clojure/failure/failure_examples.clj
@@ -620,7 +620,7 @@
v)]
`(hash-map ::from-each (doall (for ~seq-exprs
{::the-result (try ~body-expr
- (catch Exception e# e#))
+ (catch Throwable t# t#))
::ref-data ~(vec (interleave vs (map symbol vs)))}))
::from-each-body '~body-expr
::from-each-flag true)))
@@ -161,4 +161,4 @@
(expect "need to see exceptions here" (from-each [x [1 2 3]]
(/ x 0)))
-(expect-focused AssertionError (from-each [a ["2" 1]] (assert (string? a))))
+(expect AssertionError (from-each [a ["2" 1]] (assert (string? a))))

0 comments on commit 1c150d3

Please sign in to comment.