(t *testing.T)
| 33 | } |
| 34 | |
| 35 | func 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 | |
| 42 | func TestDedupe(t *testing.T) { |
| 43 | got := dedupe([]string{"a@b.com", "c@d.com", "A@B.com", "c@d.com"}) |
nothing calls this directly
no test coverage detected