aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/test_is.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/test_is.clj')
-rw-r--r--src/clojure/contrib/test_is.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clojure/contrib/test_is.clj b/src/clojure/contrib/test_is.clj
index aac934be..23bcae24 100644
--- a/src/clojure/contrib/test_is.clj
+++ b/src/clojure/contrib/test_is.clj
@@ -391,7 +391,7 @@
;; Asserts that evaluating expr throws an exception of class c.
;; Returns the exception thrown.
(let [klass (second form)
- body (rrest form)]
+ body (nthnext form 2)]
`(try ~@body
(report :fail ~msg '~form nil)
(catch ~klass e#
@@ -405,7 +405,7 @@
;; (with re-matches) the regular expression re.
(let [klass (nth form 1)
re (nth form 2)
- body (nthrest form 3)]
+ body (nthnext form 3)]
`(try ~@body
(report :fail ~msg '~form nil)
(catch ~klass e#