X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcheck.lisp;h=12f2256a33527873b04a51acf0042dd0caf7f361;hb=ebf1d93971db80410bb860338eb6f79b9de68b23;hp=39e9f4f47edc886cbd6703d974fda15d085fd62d;hpb=a3a3f45f2473649d64411e6e099c533c6c309fdd;p=fiveam.git diff --git a/src/check.lisp b/src/check.lisp index 39e9f4f..12f2256 100644 --- a/src/check.lisp +++ b/src/check.lisp @@ -1,4 +1,4 @@ -;; -*- lisp -*- +;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*- (in-package :it.bese.fiveam) @@ -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))