summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2010-05-26 12:32:41 -0400
committerStuart Halloway <stu@thinkrelevance.com>2010-05-28 07:52:54 -0400
commit4bea7a529bb14b99d48758cfaf0d71af0997f0ff (patch)
treeb0ccf0d70d95c99fec5818f597b23a1909f87995 /test
parent89ed54ec8850bb3012c89c91d076a34837ca737e (diff)
name handles strings
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Diffstat (limited to 'test')
-rw-r--r--test/clojure/test_clojure/other_functions.clj6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/clojure/test_clojure/other_functions.clj b/test/clojure/test_clojure/other_functions.clj
index 43214921..575ac9fb 100644
--- a/test/clojure/test_clojure/other_functions.clj
+++ b/test/clojure/test_clojure/other_functions.clj
@@ -44,6 +44,12 @@
(> 5 0) true ))
+(deftest test-name
+ (are [x y] (= x (name y))
+ "foo" :foo
+ "bar" 'bar
+ "quux" "quux"))
+
; time assert comment doc
; partial