(t *testing.T)
| 88 | } |
| 89 | |
| 90 | func TestExtractThreadInfoNoReplyTo(t *testing.T) { |
| 91 | raw := []byte("Message-Id: <x@gmail.com>\r\nSubject: Hi\r\nFrom: alice@example.com\r\nTo: bot@agent.example.com\r\n\r\nBody\r\n") |
| 92 | |
| 93 | info := extractThreadInfo(raw) |
| 94 | |
| 95 | if info.ReplyTo != nil { |
| 96 | t.Errorf("ReplyTo should be nil, got %v", info.ReplyTo) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func TestExtractThreadInfoReplyToMultiAddress(t *testing.T) { |
| 101 | // RFC 5322 § 3.6.2 permits Reply-To to carry multiple addresses; SDK |
nothing calls this directly
no test coverage detected