aboutsummaryrefslogtreecommitdiffstats
path: root/csc/testing.csc
diff options
context:
space:
mode:
Diffstat (limited to 'csc/testing.csc')
-rw-r--r--csc/testing.csc6
1 files changed, 2 insertions, 4 deletions
diff --git a/csc/testing.csc b/csc/testing.csc
index e46d300..3fa8ad5 100644
--- a/csc/testing.csc
+++ b/csc/testing.csc
@@ -61,11 +61,9 @@
(define-syntax assert-equal
(syntax-rules ()
((assert-equal left right transformers ...)
- (let* ((x left)
- (y right)
- (d (diff x y transformers ...)))
+ (let ((d (diff left right transformers ...)))
(unless (string=? "" d)
- (fatalf "Fatal:\n {}\nis not equal to\n {}.\nleft is\n {}\nright is\n {}\ndiff (-left +right):\n{}" 'left 'right x y d))))
+ (fatalf "Fatal:\n {}\nis not equal to\n {}.\ndiff (-left +right):\n{}" 'left 'right d))))
((assert-equal left right)
(assert-equal equal? left right))))