(patch) fix test coverage
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m44s

This commit is contained in:
Pat Garrity 2025-07-27 21:34:38 -05:00
parent 8195bfce33
commit d03e64ead3
Signed by: pfm
GPG key ID: 5CA5D21BAB7F3A76

View file

@ -56,6 +56,14 @@ class UUIDTests extends munit.FunSuite:
assertEquals(UUID.parse(base.withDashes()), Some(base)) assertEquals(UUID.parse(base.withDashes()), Some(base))
} }
test(
"should successfully parse a UUID with dashes (alternative serializer)"
) {
val raw = java.util.UUID.randomUUID()
val base = UUID(raw)
assertEquals(UUID.parse(base.str(true)), Some(base))
}
test( test(
"should successfully parse a UUID with dashes, generated with this library" "should successfully parse a UUID with dashes, generated with this library"
) { ) {