hy/tests/compilers/native/quoting.hy
2013-04-08 22:31:26 -04:00

11 lines
232 B
Hy

;;;
;;;
(import-from hy HyExpression HySymbol HyString)
(defn test-basic-quoting []
(assert (= (type (quote (foo bar))) HyExpression))
(assert (= (type (quote foo)) HySymbol))
(assert (= (type (quote "string")) HyString)))