Skip to content

Commit 874c9ae

Browse files
committed
FIxed tests
1 parent c3edeb2 commit 874c9ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/mail-parser-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ exports['Text encodings'] = {
382382
},
383383

384384
'Punycode Address': test => {
385-
let encodedText = 'From: "Sender <[email protected]>\r\n' + 'To: "Test Recipient" <[email protected]>\r\n',
385+
let encodedText = 'From: "Sender" <[email protected]>\r\n' + 'To: "Test Recipient" <[email protected]>\r\n',
386386
mail = Buffer.from(encodedText, 'utf-8');
387387

388388
let mailparser = new MailParser();
@@ -396,7 +396,7 @@ exports['Text encodings'] = {
396396
},
397397

398398
'Punycode Address: Invalid': test => {
399-
let encodedText = 'From: "Postmaster <[email protected]>\r\n' + 'To: "Test Recipient" <[email protected]>\r\n',
399+
let encodedText = 'From: "Postmaster" <[email protected]>\r\n' + 'To: "Test Recipient" <[email protected]>\r\n',
400400
mail = Buffer.from(encodedText, 'utf-8');
401401

402402
let mailparser = new MailParser();

0 commit comments

Comments
 (0)