diff --git a/test/email-addresses.js b/test/email-addresses.js index 6846be7..6f7c303 100644 --- a/test/email-addresses.js +++ b/test/email-addresses.js @@ -185,6 +185,11 @@ test("display-name semantic interpretation", function (t) { "\"First Last\"", "surrounding quotes are not semantic"); + check( + "First \"Middle\" Last ", + "surrounding quotes should not run words together", + "First Middle Last"); + check( " \t \"First Last\" ", "surrounding quotes are not semantic and whitespace is collapsed");