Skip to content

Commit

Permalink
Update email_validation_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Денис Телюх authored Aug 20, 2018
1 parent 47e2006 commit 3d83379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions email_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3d83379

Please sign in to comment.