From d107bd42ba148adb3d2da6cb50495d2e9a12c136 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 20 Jan 2023 18:51:27 +0100 Subject: err: add test for equality --- tests/test-err.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 "#" (format "~a" (err 42)))) -- cgit 1.4.1