~brenns10/funlisp

ac7218e33ad9f5d1ae93456367974cf767cfef95 — Stephen Brennan 1 year, 10 months ago 8c9f9ac
More correct quoting tests
1 files changed, 4 insertions(+), 0 deletions(-)

M scripts/tests/quoting.lisp
M scripts/tests/quoting.lisp => scripts/tests/quoting.lisp +4 -0
@@ 4,6 4,10 @@
          `(1 2 3 ,x)
          '(1 2 3 4)))

(assert (equal?
          `(1 2 3 ,(+ 2 2))
          '(1 2 3 4)))

; errors occurring in quasiquote are errors in real life
(assert-error 'LE_VALUE
              `(blah (blah blah) ,(/ 1 0) (blah)))