about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/address.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/address.t b/t/address.t
index 287fcfa0..be0fc5b7 100644
--- a/t/address.t
+++ b/t/address.t
@@ -29,4 +29,8 @@ is_deeply(['user'], \@names, 'address-as-name extraction works as expected');
         is_deeply(\@emails, ['u@example.com'], 'backwards emails OK');
 }
 
+
+@names = PublicInbox::Address::names('"Quote Unneeded" <user@example.com>');
+is_deeply(['Quote Unneeded'], \@names, 'extra quotes dropped');
+
 done_testing;