diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-25 16:51:52 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-01-06 21:58:58 -0600 |
| commit | 4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae (patch) | |
| tree | 91aee7451aefe68050ec797f6054c205df2358cf /tests | |
| parent | 85bec8a08b76b5b4797ddd9976a138b22974e1c4 (diff) | |
| download | mal-4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae.tar.gz mal-4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae.zip | |
rust: add step7_quote. Refactor with type constructors.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/step1_read_print.mal | 26 |
1 files changed, 13 insertions, 13 deletions
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 |
