File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,8 @@ output if a test fails.
442
442
443
443
(defmacro assert-false (form &rest extras)
444
444
" Assert whether the form is false."
445
- ` (expand-assert :result , form , form nil , extras))
445
+ (let ((extras ` (,@ (cdr form) ,@ extras)))
446
+ ` (expand-assert :result , form , form nil , extras)))
446
447
447
448
(defmacro assert-equality (test expected form &rest extras)
448
449
" Assert whether expected and form are equal according to test."
@@ -455,7 +456,8 @@ output if a test fails.
455
456
456
457
(defmacro assert-true (form &rest extras)
457
458
" Assert whether the form is true."
458
- ` (expand-assert :result , form , form t , extras))
459
+ (let ((extras ` (,@ (cdr form) ,@ extras)))
460
+ ` (expand-assert :result , form , form t , extras)))
459
461
460
462
(defmacro expand-assert (type form body expected extras &key (test ' #'eql ))
461
463
" Expand the assertion to the internal format."
You can’t perform that action at this time.
0 commit comments