From 0f353e97cae220540121c07fbf0495b6e77b89d2 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Sat, 15 Apr 2023 07:08:30 -0500 Subject: [PATCH] Add test case for email preference. --- tests/tvcard3.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tvcard3.nim b/tests/tvcard3.nim index 150500f..f7d23c3 100644 --- a/tests/tvcard3.nim +++ b/tests/tvcard3.nim @@ -60,4 +60,5 @@ suite "vcard/vcard3": check: jdb.email.len == 7 jdb.email[0].value == "jonathan@jdbernard.com" + jdb.email[0].emailType.contains("pref") jdb.fn.value == "Jonathan Bernard"