mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
test(GODT-1602): run integration tests against black 🖤
This commit is contained in:
@ -358,6 +358,24 @@ func (s *scenario) imapClientSeesMessageInMailboxWithStructure(clientID, mailbox
|
||||
return err
|
||||
}
|
||||
|
||||
debug := false
|
||||
for iFetch := range fetch {
|
||||
if !debug {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Printf("\n\n\n fetch %d %#v\n evenlope %+v\n",
|
||||
iFetch, fetch[iFetch],
|
||||
fetch[iFetch].Envelope,
|
||||
)
|
||||
|
||||
for _, v := range fetch[iFetch].Body {
|
||||
fmt.Println("body literal", v)
|
||||
}
|
||||
|
||||
fmt.Printf("\n\n\n")
|
||||
}
|
||||
|
||||
haveMessages := xslices.Map(fetch, newMessageStructFromIMAP)
|
||||
|
||||
return matchStructure(haveMessages, msgStruct)
|
||||
|
||||
Reference in New Issue
Block a user