Added a simple test for macroexpand

This commit is contained in:
Sean B. Palmer 2013-10-11 12:03:52 +01:00
parent a34db9119b
commit 2e60d6b47b

View File

@ -775,7 +775,13 @@
(.append y x))
(assert (= y [5])))
(defn test-empty-list []
"Evaluate an empty list to a []"
(assert (= () [])))
(defn test-macroexpand []
"Test macroexpand on ->"
(assert (= (macroexpand '(-> (a b) (x y)))
'(x (a b) y))))