mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
Other(test): Add send recorder test case
This commit is contained in:
committed by
James Houlahan
parent
7745b68228
commit
16978b8949
@ -324,6 +324,12 @@ func TestGetMessageHash(t *testing.T) {
|
||||
lit2: []byte(literal2),
|
||||
wantEqual: false,
|
||||
},
|
||||
{
|
||||
name: "different date and message ID should still match",
|
||||
lit1: []byte("To: a@b.c\r\nDate: Fri, 13 Aug 1982\r\nMessage-Id: 1@b.c\r\n\r\nHello"),
|
||||
lit2: []byte("To: a@b.c\r\nDate: Sat, 14 Aug 1982\r\nMessage-Id: 2@b.c\r\n\r\nHello"),
|
||||
wantEqual: true,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user