(t *testing.T, msg *Msg, sender string, rcpt []string)
| 321 | } |
| 322 | |
| 323 | func CheckMsg(t *testing.T, msg *Msg, sender string, rcpt []string) { |
| 324 | t.Helper() |
| 325 | |
| 326 | idRaw := sha1.Sum([]byte(t.Name())) |
| 327 | encodedId := hex.EncodeToString(idRaw[:]) |
| 328 | |
| 329 | CheckMsgID(t, msg, sender, rcpt, encodedId) |
| 330 | } |
| 331 | |
| 332 | func CheckMsgID(t *testing.T, msg *Msg, sender string, rcpt []string, id string) string { |
| 333 | t.Helper() |
no test coverage detected