-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93b532c
commit 33c5d28
Showing
13 changed files
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ | |
let addressTools = require('../lib/address-tools'); | ||
let Headers = require('mailsplit').Headers; | ||
|
||
module.exports['#parseAddressses, no names'] = test => { | ||
let parsed = addressTools.parseAddressses(['[email protected], <[email protected]>, Andris3 <[email protected]>', 'Andris4 <[email protected]>']); | ||
module.exports['#parseAddresses, no names'] = test => { | ||
let parsed = addressTools.parseAddresses(['[email protected], <[email protected]>, Andris3 <[email protected]>', 'Andris4 <[email protected]>']); | ||
|
||
test.deepEqual(['[email protected]', '[email protected]', '[email protected]'], parsed); | ||
|
||
test.done(); | ||
}; | ||
|
||
module.exports['#parseAddressses, with names'] = test => { | ||
let parsed = addressTools.parseAddressses(['[email protected], <[email protected]>, Andris3 <[email protected]>', 'Andris4 <[email protected]>'], true); | ||
module.exports['#parseAddresses, with names'] = test => { | ||
let parsed = addressTools.parseAddresses(['[email protected], <[email protected]>, Andris3 <[email protected]>', 'Andris4 <[email protected]>'], true); | ||
|
||
test.deepEqual( | ||
[ | ||
|
@@ -35,8 +35,8 @@ module.exports['#parseAddressses, with names'] = test => { | |
test.done(); | ||
}; | ||
|
||
module.exports['#parseAddressses, group with names'] = test => { | ||
let parsed = addressTools.parseAddressses( | ||
module.exports['#parseAddresses, group with names'] = test => { | ||
let parsed = addressTools.parseAddresses( | ||
['[email protected], Disclosed:<[email protected]>, Andris3 <[email protected]>;', 'Andris4 <[email protected]>'], | ||
true | ||
); | ||
|