X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcheck.lisp;h=21f7bf4981c51832c47927a8ffe76f973183298e;hb=c8f9fdda5f67d41e8e32404cc7c2598f7adabafe;hp=12c9bf04a81774d1855b93de29567ab670dfa2c9;hpb=869a1f5516006aba36b927d447206f686206fbc1;p=fiveam.git diff --git a/src/check.lisp b/src/check.lisp index 12c9bf0..21f7bf4 100644 --- a/src/check.lisp +++ b/src/check.lisp @@ -121,7 +121,7 @@ REASON-ARGS is provided, is generated based on the form of TEST: (predicate value) - Means that we want to ensure that VALUE satisfies PREDICATE. - Wrapping the TEST form in a NOT simply preducse a negated reason + Wrapping the TEST form in a NOT simply produces a negated reason string." (assert (listp test) (test) @@ -135,9 +135,7 @@ REASON-ARGS is provided, is generated based on the form of TEST: (assert (not (and (consp expected) (eq (car expected) 'values))) () "Both the expected and actual part is a values expression.") - (let ((tmp expected)) - (setf expected actual - actual tmp))) + (rotatef expected actual)) (let ((setf-forms)) (if (and (consp expected) (eq (car expected) 'values))