Skip to content

Commit

Permalink
Correctly quote name and use valid-test-name in define-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas M. Hermann committed Mar 14, 2013
1 parent 3a0f079 commit 11a1e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp-unit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ assertion.")
"Store the test in the test database."
(let ((qname (gensym "NAME-")))
(multiple-value-bind (doc tag code) (parse-body body)
`(let* ((,qname ,(valid-test-name name))
`(let* ((,qname (valid-test-name ',name))
(doc (or ,doc (string ,qname))))
(setf
;; Unit test
Expand Down

0 comments on commit 11a1e37

Please sign in to comment.