summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-07-16 11:10:53 -0400
committerGravatar Peter McGoron 2025-07-16 11:10:53 -0400
commit6dafb95155f2125a4bc2c81a4a1bb191b8eca828 (patch)
treee850ae64e9b7668a86b74f62b439f5850b652b2e /tests
parentfix forgejo breakage (diff)
fix hashingHEADmaster
Diffstat (limited to 'tests')
-rw-r--r--tests/run.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run.scm b/tests/run.scm
index 5681733..e1dfc9a 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -38,6 +38,11 @@
(make-person "Tom" "Smith")
(make-person "John" "Smith"))))
+(test-group "hashing"
+ (test-assert
+ (= (comparator-hash person-name-comparator (make-person "Tom" "Smith"))
+ (comparator-hash person-name-comparator (make-person "Tom" "smith")))))
+
(define-record-type Book
(make-book author title)
book?