mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-10 02:58:33 +00:00
Parsing message with empty address as '<>'
This commit is contained in:
@ -224,8 +224,8 @@ func TestParseTextPlainWithPlainAttachment(t *testing.T) {
|
||||
assert.Equal(t, readerToString(attReaders[0]), "attachment")
|
||||
}
|
||||
|
||||
func TestParseTextPlainEmptyCC(t *testing.T) {
|
||||
f := getFileReader("text_plain_empty_cc.eml")
|
||||
func TestParseTextPlainEmptyAddresses(t *testing.T) {
|
||||
f := getFileReader("text_plain_empty_addresses.eml")
|
||||
|
||||
m, _, plainBody, attReaders, err := Parse(f, "", "")
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user