diff options
Diffstat (limited to 'testiere.lisp')
-rw-r--r-- | testiere.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testiere.lisp b/testiere.lisp index 1f1d0ec..9f253a7 100644 --- a/testiere.lisp +++ b/testiere.lisp @@ -59,7 +59,7 @@ (list (mapcar (lambda (spec) (build-test name spec)) specs) (append before after)))))) -(defmacro defun+ (name lambda-list &body body) +(defmacro defun/t (name lambda-list &body body) "Like regular DEFUN, but with embedded unit tests. If those tests would fail, the function fails to be defined. " (destructuring-bind (tests function-body) (extract-tests name body) |