Skip to content

Commit

Permalink
Correct spelling errors in email validation comments
Browse files Browse the repository at this point in the history
Fixed the spelling of "dot-separated" in comment explanations to ensure clarity. This makes the comments more accurate and easier to understand.
  • Loading branch information
wneessen committed Nov 11, 2024
1 parent ad86c7a commit 79d4c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ var (
{`" "@domain.tld`, true}, // Still valid, since quoted
{`"<\"@\".!#%[email protected]"`, false}, // Quoting with illegal characters is not allowed
{`<\"@\\".!#%[email protected]`, false}, // Still a bunch of random illegal characters
{`hi"@"[email protected]`, false}, // Quotes must be dot-seperated
{`"<\"@\\".!.#%[email protected]`, false}, // Quote is escaped and dot-seperated which would be RFC822 compliant, but not RFC5322 compliant
{`hi"@"[email protected]`, false}, // Quotes must be dot-separated
{`"<\"@\\".!.#%[email protected]`, false}, // Quote is escaped and dot-separated which would be RFC822 compliant, but not RFC5322 compliant
{`hi\ [email protected]`, false}, // Spaces must be quoted
{"hello@tld", true}, // TLD is enough
{`你好@域名.顶级域名`, true}, // We speak RFC6532
Expand Down

0 comments on commit 79d4c6f

Please sign in to comment.