-
-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9608a8
commit 49437f8
Showing
5 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -479,7 +479,7 @@ func TestValidEmailError(t *testing.T) { | |
test.AssertEquals(t, err.Error(), "unable to parse email address") | ||
|
||
err = ValidEmail("[email protected]") | ||
test.AssertEquals(t, err.Error(), "contact email has forbidden domain") | ||
test.AssertEquals(t, err.Error(), "contact email has forbidden domain \"example.com\"") | ||
|
||
err = ValidEmail("[email protected]") | ||
test.AssertEquals(t, err.Error(), "contact email has invalid domain: Domain name contains an invalid character") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ func TestAccountEmailError(t *testing.T) { | |
name: "forbidden contact domain", | ||
contacts: []string{"mailto:[email protected]", "mailto:[email protected]"}, | ||
expectedProbType: "urn:ietf:params:acme:error:invalidContact", | ||
expectedProbDetail: "contact email has forbidden domain", | ||
expectedProbDetail: "contact email has forbidden domain \"example.com\"", | ||
}, | ||
{ | ||
name: "contact domain invalid TLD", | ||
|