aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-23 21:59:50 -0500
committerJoel Martin <github@martintribe.org>2014-04-23 21:59:50 -0500
commit6301e0b6374cecc5599665be14d6ddc6a31ce1e8 (patch)
treedbf1dc2ff6c682fd87c72a7907e7f6e59c8d4c03 /tests
parent89bd4de1e2704c1bc562788b2c5e4fc08b71a538 (diff)
downloadmal-6301e0b6374cecc5599665be14d6ddc6a31ce1e8.tar.gz
mal-6301e0b6374cecc5599665be14d6ddc6a31ce1e8.zip
All: TCO let* and quasiquote.
Diffstat (limited to 'tests')
-rw-r--r--tests/stepA_more.mal8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/stepA_more.mal b/tests/stepA_more.mal
index 0378c58..7b7dac5 100644
--- a/tests/stepA_more.mal
+++ b/tests/stepA_more.mal
@@ -6,8 +6,9 @@
;=>nil
;;;TODO: fix so long lines don't trigger ANSI escape codes ;;;(try*
-(throw {"data" "foo"}) (catch* exc (do (prn "exc is:" exc) 7))) ;;;;
-"exc is:" {"data" "foo"} ;;;;=>7
+;;;(try* (throw {"data" "foo"}) (catch* exc (do (prn "exc is:" exc) 7))) ;;;;
+;;;; "exc is:" {"data" "foo"} ;;;;=>7
+;;;;=>7
(try* (throw {"data" "foo"}) (catch* exc (do (prn "err:" exc) 7)))
; "err:" {"data" "foo"}
@@ -69,8 +70,9 @@
(read-string "7 ;; comment")
;=>7
+;;; Differing output, but make sure no fatal error
(read-string ";; comment")
-;=>nil
+
(eval (read-string "(+ 4 5)"))
;=>9