hy/tests/compilers/native/quoting.hy

11 lines
232 B
Hy
Raw Normal View History

;;;
;;;
2013-04-09 04:31:26 +02:00
(import-from hy HyExpression HySymbol HyString)
(defn test-basic-quoting []
2013-04-09 02:24:47 +02:00
(assert (= (type (quote (foo bar))) HyExpression))
2013-04-09 04:31:26 +02:00
(assert (= (type (quote foo)) HySymbol))
(assert (= (type (quote "string")) HyString)))