(patch) fix test coverage
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m44s
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m44s
This commit is contained in:
parent
8195bfce33
commit
d03e64ead3
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))
|
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"
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue