mirror of
https://github.com/foxcpp/maddy.git
synced 2026-02-14 11:39:03 +02:00
14 lines
235 B
Go
14 lines
235 B
Go
package address_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/foxcpp/maddy/framework/address"
|
|
)
|
|
|
|
func TestValidMailboxName(t *testing.T) {
|
|
if !address.ValidMailboxName("caddy.bug") {
|
|
t.Error("caddy.bug should be valid mailbox name")
|
|
}
|
|
}
|