summaryrefslogtreecommitdiff
path: root/01
diff options
context:
space:
mode:
Diffstat (limited to '01')
-rw-r--r--01/test.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/01/test.scm b/01/test.scm
index 6dbff81..14e13ff 100644
--- a/01/test.scm
+++ b/01/test.scm
@@ -6,7 +6,7 @@
; My quick-and-dirty unit testing framework (copied for each day)
(define (run-test name proc input expected)
(let ((result (proc input)))
- (if (= result expected)
+ (if (equal? result expected)
(printf "\x1b;[32;1mPASS\x1b;[0m: ~a\n"
name)
(printf "\x1b;[31;1mFAIL\x1b;[0m: ~a: got ~a, expected ~a\n"