Validate vCard 4 MEMBER and PID semantics
This commit is contained in:
1 parent
ac25a4ec06
commit
addb2a2d8d
2 files changed
+45
-1
No files matched your search
+2
-1
@@ -141,7 +141,8 @@ suite "vcard/vcard4":
|
||||
let parsed = parseSingleVCard4(vcard4Doc(
|
||||
"VERSION:4.0",
|
||||
"FN:John Smith",
|
||||
"EMAIL;PID=1.7:test@example.com"))
|
||||
"EMAIL;PID=1.7:test@example.com",
|
||||
"CLIENTPIDMAP:7;urn:uuid:device-7"))
|
||||
check:
|
||||
parsed.email.len == 1
|
||||
parsed.email[0].pid == @[PidValue(propertyId: 1, sourceId: 7)]
|
||||
|
||||
Reference in new issue
Block a user