Permalink
Browse files

fixed issue where Errors would abort test runs

  • Loading branch information...
1 parent 80d4a72 commit 6ddd45df03b9ee1ec8fe2b65a2075f5010f24b36 @slagyr committed May 2, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 CHANGES.md
  2. +1 −1 src/speclj/running.clj
  3. +1 −1 src/speclj/version.clj
View
@@ -1,3 +1,7 @@
+# 2.1.2
+
+* Errors (as opposed to Exceptions) no longer abort test runs
+
# 2.1.1
* 2.1.0 is broken for some reason
View
@@ -56,7 +56,7 @@
(report-result pass-result characteristic start-time reporters nil))
(catch SpecPending p
(report-result pending-result characteristic start-time reporters p))
- (catch Exception e
+ (catch Throwable e
(report-result fail-result characteristic start-time reporters e))
(finally
(reset-withs withs))))) ;MDM - Possible clojure bug. Inlining reset-withs results in compile error
View
@@ -4,7 +4,7 @@
(def major 2)
(def minor 1)
-(def tiny 1)
+(def tiny 2)
(def snapshot false)
(def string
(str

0 comments on commit 6ddd45d

Please sign in to comment.