aboutsummaryrefslogtreecommitdiff
path: root/tests/step8_macros.mal
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-11-03 22:29:51 -0600
committerJoel Martin <github@martintribe.org>2015-01-09 16:16:45 -0600
commitf947d503f748fd1218f502ef1394ff9e28175ef8 (patch)
tree732223892a330b317c78320a09469be7d0f49f31 /tests/step8_macros.mal
parent36737ae57ee106be16426bf9ef088380421ca0ec (diff)
downloadmal-f947d503f748fd1218f502ef1394ff9e28175ef8.tar.gz
mal-f947d503f748fd1218f502ef1394ff9e28175ef8.zip
R: atom support, fixes for self-hosting.
Diffstat (limited to 'tests/step8_macros.mal')
-rw-r--r--tests/step8_macros.mal7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/step8_macros.mal b/tests/step8_macros.mal
index 93f3ea9..f2f62dc 100644
--- a/tests/step8_macros.mal
+++ b/tests/step8_macros.mal
@@ -15,6 +15,13 @@
;=>(8 9)
+;; Testing non-macro function
+(not (= 1 1))
+;=>false
+;;; This should fail if it is a macro
+(not (= 1 2))
+;=>true
+
;; Testing trivial macros
(defmacro! one (fn* () 1))