From 3d83379f0e060385a18cfb5488b89af94f3df96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=A2=D0=B5=D0=BB=D1=8E?= =?UTF-8?q?=D1=85?= Date: Mon, 20 Aug 2018 13:50:49 +0700 Subject: [PATCH] Update email_validation_test.go --- email_validation_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/email_validation_test.go b/email_validation_test.go index e37531e..eac554f 100644 --- a/email_validation_test.go +++ b/email_validation_test.go @@ -15,11 +15,13 @@ func TestEmailValidation(t *testing.T) { ensure.Nil(t, err) ensure.True(t, ev.IsValid) + ensure.True(t, ev.MailboxVerification) ensure.False(t, ev.IsDisposableAddress) ensure.False(t, ev.IsRoleAddress) ensure.True(t, ev.Parts.DisplayName == "") ensure.DeepEqual(t, ev.Parts.LocalPart, "foo") ensure.DeepEqual(t, ev.Parts.Domain, "mailgun.com") + ensure.True(t, ev.Reason == "") } func TestParseAddresses(t *testing.T) {