aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/test_clojure/other_functions.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/test_clojure/other_functions.clj')
-rw-r--r--src/clojure/contrib/test_clojure/other_functions.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clojure/contrib/test_clojure/other_functions.clj b/src/clojure/contrib/test_clojure/other_functions.clj
index 3138fbd9..17b1f3b8 100644
--- a/src/clojure/contrib/test_clojure/other_functions.clj
+++ b/src/clojure/contrib/test_clojure/other_functions.clj
@@ -19,7 +19,7 @@
(is (thrown? IllegalArgumentException (identity)))
(is (thrown? IllegalArgumentException (identity 1 2)))
- (are (= (identity _) _)
+ (are [x] (= (identity x) x)
nil
false true
0 42
@@ -36,7 +36,7 @@
#{} #{1 2} )
; evaluation
- (are (= (identity _1) _2)
+ (are [x y] (= (identity x) y)
(+ 1 2) 3
(> 5 0) true ))