aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/step8_macros.mal2
-rw-r--r--tests/stepA_more.mal18
2 files changed, 1 insertions, 19 deletions
diff --git a/tests/step8_macros.mal b/tests/step8_macros.mal
index 03128ca..023c3d5 100644
--- a/tests/step8_macros.mal
+++ b/tests/step8_macros.mal
@@ -146,7 +146,7 @@
(cond false 7 false 8 false 9)
;=>nil
-;Testing all EVAL of non-default locations
+;; Testing all EVAL of non-default locations
(let* [x (or nil "yes")] x)
;=>"yes"
diff --git a/tests/stepA_more.mal b/tests/stepA_more.mal
index f2cc7eb..764c47f 100644
--- a/tests/stepA_more.mal
+++ b/tests/stepA_more.mal
@@ -313,21 +313,3 @@
(readline "mal-user> ")
"hello"
;=>"\"hello\""
-
-;;
-;; Testing macros cond and or
-(cond 1 2 3 4)
-;=>2
-(cond false 2 3 4)
-;=>4
-(cond false 2 false 4)
-;=>nil
-
-(or)
-;=>nil
-(or 1)
-;=>1
-(or 1 2)
-;=>1
-(or nil 2)
-;=>2