aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-25 11:42:07 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:58:35 -0600
commitabdd56ebc0e01cd92f694ef2bcafcc394453d055 (patch)
treed1ace96ac90e5d888e4d4d05dd4ca0c0445a856e /tests
parentf41866dbe99080f0916512261f0412c5bc65f190 (diff)
downloadmal-abdd56ebc0e01cd92f694ef2bcafcc394453d055.tar.gz
mal-abdd56ebc0e01cd92f694ef2bcafcc394453d055.zip
Rust: step0_repl and step1_read_print
Diffstat (limited to 'tests')
-rw-r--r--tests/step1_read_print.mal8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/step1_read_print.mal b/tests/step1_read_print.mal
index 43e7931..1714a56 100644
--- a/tests/step1_read_print.mal
+++ b/tests/step1_read_print.mal
@@ -56,6 +56,10 @@ abc-def
(** 1 2)
;=>(** 1 2)
+;; Test commas as whitespace
+(1 2, 3,,,,),,
+;=>(1 2 3)
+
;; Testing read of vectors
[+ 1 2]
;=>[+ 1 2]
@@ -76,10 +80,6 @@ abc-def
{ "a" {"b" { "cde" 3 } }}
;=>{"a" {"b" {"cde" 3}}}
-;; Test commas as whitespace
-(1 2, 3,,,,),,
-;=>(1 2 3)
-
;;
;; Testing reader errors
;;; TODO: fix these so they fail correctly