aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/test_clojure/other_functions.clj
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2009-06-23 23:29:33 -0400
committerStuart Halloway <stu@thinkrelevance.com>2009-06-23 23:29:33 -0400
commit85c4905b3ccb94dfdb2272e92de6ba1051e304e3 (patch)
treee4760e28748b1ad88786cb5dab8a8941944ee095 /src/clojure/contrib/test_clojure/other_functions.clj
parent6ad3cf6dc28f738ba06ada5824e2be05559ea0f9 (diff)
gtic: updated clojure tests to new template syntax, commented out
"all-are" tests
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 ))