From 4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 25 Oct 2014 16:51:52 -0500 Subject: rust: add step7_quote. Refactor with type constructors. --- tests/step1_read_print.mal | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'tests') diff --git a/tests/step1_read_print.mal b/tests/step1_read_print.mal index 1714a56..3dc4023 100644 --- a/tests/step1_read_print.mal +++ b/tests/step1_read_print.mal @@ -60,6 +60,19 @@ abc-def (1 2, 3,,,,),, ;=>(1 2 3) +;; +;; Testing reader errors +;;; TODO: fix these so they fail correctly +(1 2 +; expected ')', got EOF +[1 2 +; expected ']', got EOF +"abc +; expected '"', got EOF + +;; +;; -------- Optional Functionality -------- + ;; Testing read of vectors [+ 1 2] ;=>[+ 1 2] @@ -80,19 +93,6 @@ abc-def { "a" {"b" { "cde" 3 } }} ;=>{"a" {"b" {"cde" 3}}} -;; -;; Testing reader errors -;;; TODO: fix these so they fail correctly -(1 2 -; expected ')', got EOF -[1 2 -; expected ']', got EOF -"abc -; expected '"', got EOF - -;; -;; -------- Optional Functionality -------- - ;; Testing read of comments ;; whole line comment (not an exception) 1 ; comment after expression -- cgit v1.2.3