(patch) version updates and doc updates #15
1 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,14 @@ class UUIDTests extends munit.FunSuite:
|
|||
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(
|
||||
"should successfully parse a UUID with dashes, generated with this library"
|
||||
) {
|
||||
|
|
Loading…
Add table
Reference in a new issue