aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-03-05 11:25:26 -0600
committerJoel Martin <github@martintribe.org>2015-03-05 11:27:22 -0600
commit758933f21515b282423bfcb0a2d5a7eca9b41b20 (patch)
tree2400ed9dacf051fb7d7f4fa5fe449a2d80f3af68
parenta551bd4cd4d802173057ed124b911abed4ec530b (diff)
downloadmal-758933f21515b282423bfcb0a2d5a7eca9b41b20.tar.gz
mal-758933f21515b282423bfcb0a2d5a7eca9b41b20.zip
tests: add macro-in-macro test.
E.g.: (or (or false 4)) -> 4
-rw-r--r--tests/step8_macros.mal2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/step8_macros.mal b/tests/step8_macros.mal
index cf8f5d1..b9bf002 100644
--- a/tests/step8_macros.mal
+++ b/tests/step8_macros.mal
@@ -67,6 +67,8 @@ x
;=>4
(or false nil 3 false nil 4)
;=>3
+(or (or false 4))
+;=>4
;; Testing cond macro