projects
/
fiveam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869a1f5
)
Use ROTATEF
author
Stelian Ionescu
<sionescu@cddr.org>
Mon, 23 Apr 2012 10:53:01 +0000
(12:53 +0200)
committer
Stelian Ionescu
<sionescu@cddr.org>
Mon, 23 Apr 2012 10:53:01 +0000
(12:53 +0200)
src/check.lisp
patch
|
blob
|
history
diff --git
a/src/check.lisp
b/src/check.lisp
index
12c9bf0
..
12f2256
100644
(file)
--- a/
src/check.lisp
+++ b/
src/check.lisp
@@
-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))