parent
19baec2ee0
commit
aa1efe72cd
5 changed files with 31 additions and 66 deletions
tests
|
@ -12,19 +12,3 @@
|
|||
(testing "escape-html-text-content"
|
||||
(ok (string= "&<>"'/`="
|
||||
(escape-html-text-content "&<>\"'/`=")))))
|
||||
|
||||
(defgroup fruit
|
||||
apple banana)
|
||||
|
||||
(deftest group-util-test
|
||||
(testing "defgroup"
|
||||
(ok (expands '(defgroup fruit apple banana)
|
||||
'(progn
|
||||
(defparameter *fruit*
|
||||
(hsx/utils::make-keyword-hash-table '(apple banana)))
|
||||
(defun fruit-p (keyword)
|
||||
(gethash keyword *fruit*)))))
|
||||
(ok (hash-table-p *fruit*))
|
||||
(ok (fboundp 'fruit-p))
|
||||
(ok (fruit-p :apple))
|
||||
(ng (fruit-p :tomato))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue