MCPcopy Index your code
hub / github.com/foxcpp/maddy / TestValidMailboxName

Function TestValidMailboxName

framework/address/validation_test.go:10–14  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestValidMailboxName(t *testing.T) {
11 if !address.ValidMailboxName("caddy.bug") {
12 t.Error("caddy.bug should be valid mailbox name")
13 }
14}
15
16func TestValidDomain(t *testing.T) {
17 for _, c := range []struct {

Callers

nothing calls this directly

Calls 2

ValidMailboxNameFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected