MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / TestNormalizeAddrsInvalid

Function TestNormalizeAddrsInvalid

internal/outbound/sender_test.go:35–40  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

33}
34
35func TestNormalizeAddrsInvalid(t *testing.T) {
36 _, err := normalizeAddrs([]string{"not-an-email"})
37 if err == nil {
38 t.Error("expected error for invalid address")
39 }
40}
41
42func TestDedupe(t *testing.T) {
43 got := dedupe([]string{"a@b.com", "c@d.com", "A@B.com", "c@d.com"})

Callers

nothing calls this directly

Calls 2

normalizeAddrsFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected