aboutsummaryrefslogtreecommitdiff
path: root/tests/step2_eval.mal
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-03-29 17:35:53 -0500
committerJoel Martin <github@martintribe.org>2014-03-29 17:35:53 -0500
commitaef93ea3969feee92e68358395d5750ebe83f57d (patch)
tree9e38fae1432ac26f2c4915f3f38d8ae6ccfe54f8 /tests/step2_eval.mal
parent04517bc8265b6930e96735dd5d12b7aac7d86217 (diff)
downloadmal-aef93ea3969feee92e68358395d5750ebe83f57d.tar.gz
mal-aef93ea3969feee92e68358395d5750ebe83f57d.zip
PS: error handling, throw, print excpetions without dying.
Diffstat (limited to 'tests/step2_eval.mal')
-rw-r--r--tests/step2_eval.mal3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/step2_eval.mal b/tests/step2_eval.mal
index 33c7b17..b24af93 100644
--- a/tests/step2_eval.mal
+++ b/tests/step2_eval.mal
@@ -11,6 +11,9 @@
(/ (- (+ 5 (* 2 3)) 3) 4)
;=>2
+(abc 1 2 3)
+; .*\'abc\' not found.*
+
;; Testing evaluation within collection literals
[1 2 (+ 1 2)]
;=>[1 2 3]