summary refs log tree commit diff
path: root/tests/uuid.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/uuid.scm')
-rw-r--r--tests/uuid.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/uuid.scm b/tests/uuid.scm
index aacce77233..91a3482490 100644
--- a/tests/uuid.scm
+++ b/tests/uuid.scm
@@ -57,4 +57,10 @@
   "1234-ABCD"
   (uuid->string (uuid "1234-abcd" 'fat32)))
 
+(test-assert "uuid=?"
+  (and (uuid=? (uuid-bytevector (uuid "1234-abcd" 'fat32))
+               (uuid "1234-abcd" 'fat32))
+       (uuid=? (uuid "1234-abcd" 'fat32)
+               (uuid "1234-abcd" 'fat))))
+
 (test-end)