X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Faddress.t;h=e35e4f8b0a1eb2d45032fb4ed37cef48802aac4b;hb=3d41aa23f35501ca92aab8aa42980fa73f7fa74f;hp=287fcfa05406672ed25df82e6c11f83f2766dc7c;hpb=acac0cfb3afa26fd6556aa9f835869febcda97d8;p=public-inbox.git
diff --git a/t/address.t b/t/address.t
index 287fcfa0..e35e4f8b 100644
--- a/t/address.t
+++ b/t/address.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 all contributors
+# Copyright (C) 2016-2018 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -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" ');
+is_deeply(['Quote Unneeded'], \@names, 'extra quotes dropped');
+
done_testing;