Skip to content

Commit 144a32f

Browse files
committed
fix: add another test
1 parent 658049a commit 144a32f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

validator_test.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8727,7 +8727,12 @@ func TestEmail(t *testing.T) {
87278727
NotEqual(t, errs, nil)
87288728
AssertError(t, errs, "", "", "", "", "email")
87298729

8730-
8730+
8731+
errs = validate.Var(s, "email")
8732+
NotEqual(t, errs, nil)
8733+
AssertError(t, errs, "", "", "", "", "email")
8734+
8735+
87318736
errs = validate.Var(s, "email")
87328737
NotEqual(t, errs, nil)
87338738
AssertError(t, errs, "", "", "", "", "email")

0 commit comments

Comments
 (0)