Skip to content

Commit 2e67b97

Browse files
committed
Add test to check gensym reading.
1 parent f40fc73 commit 2e67b97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

irteus/test/read-line.l

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@
1616
;; (assert (= (test-read-line 8192) 8192) "read-line with ~A char" 8192) ;; tempolarily comment out
1717
)
1818

19+
(deftest test-read-gensym
20+
(let ((g (gensym))
21+
(*print-circle* t))
22+
(assert
23+
(apply #'eq (read-from-string (format nil "~S" (list g g))))
24+
"Unable to read uninterned symbol")))
25+
1926
(run-all-tests)
2027
(exit)

0 commit comments

Comments
 (0)