diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-09 22:10:15 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-01-06 21:57:02 -0600 |
| commit | 1771ab50b87c745181e4e30f94b63e3f23d33dac (patch) | |
| tree | c1c9b5d80ba9261c5f16bab1b52c1bb0f559407c /tests | |
| parent | f2544a9467ea032aff505b3ced3b4b3510a828fe (diff) | |
| download | mal-1771ab50b87c745181e4e30f94b63e3f23d33dac.tar.gz mal-1771ab50b87c745181e4e30f94b63e3f23d33dac.zip | |
go: update README. Backport Func usage.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/step1_read_print.mal | 1 | ||||
| -rw-r--r-- | tests/step7_quote.mal | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/step1_read_print.mal b/tests/step1_read_print.mal index 7772de9..2b7c269 100644 --- a/tests/step1_read_print.mal +++ b/tests/step1_read_print.mal @@ -78,6 +78,7 @@ abc-def ;; ;; Testing reader errors +;;; TODO: fix these so they fail correctly (1 2 ; expected ')', got EOF [1 2 diff --git a/tests/step7_quote.mal b/tests/step7_quote.mal index 9166065..38dac01 100644 --- a/tests/step7_quote.mal +++ b/tests/step7_quote.mal @@ -73,3 +73,8 @@ ;=>false (= "abc" 'abc) ;=>false + +;;;;; Test quine +;;; TODO: needs expect line length fix +;;;((fn* [q] (quasiquote ((unquote q) (quote (unquote q))))) (quote (fn* [q] (quasiquote ((unquote q) (quote (unquote q))))))) +;;;=>((fn* [q] (quasiquote ((unquote q) (quote (unquote q))))) (quote (fn* [q] (quasiquote ((unquote q) (quote (unquote q))))))) |
