summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/test-err.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-err.scm b/tests/test-err.scm
index 90ef00f..60ffd39 100644
--- a/tests/test-err.scm
+++ b/tests/test-err.scm
@@ -10,7 +10,8 @@
   (test #t (ok? (if #f #f)))
   (test #t (ok? '()))
   (test 42 (unerr (err 42)))
-  (test #t (void? (unerr 42))))
+  (test #t (void? (unerr 42)))
+  (test #t (equal? (err 42) (err 42))))
 
 (test-group "record-printer"
   (test "#<err 42>" (format "~a" (err 42))))