Skip to content

Commit

Permalink
Add comment about space
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenz Van der Eecken committed Sep 3, 2024
1 parent 75a418b commit 7357d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8675,7 +8675,7 @@ func TestEmail(t *testing.T) {
errs = validate.Var(s, "email")
Equal(t, errs, nil)

s = `"test test"@email.com`
s = `"test test"@email.com` // U+00A0 No-Break Space between quotes
errs = validate.Var(s, "email")
Equal(t, errs, nil)

Expand Down

0 comments on commit 7357d74

Please sign in to comment.