add map input

This commit is contained in:
2020-11-01 18:57:35 +03:00
parent 50df7ec000
commit 596026ae92
9 changed files with 128 additions and 123 deletions

View File

@@ -99,7 +99,7 @@ func TestNotBlank(t *testing.T) {
}
if ca.empty == nil {
ca.empty = value.Empty
ca.empty = value.Empty()
}
if err := valid(ca.empty); err == nil || !errors.Is(err, validator.ErrNotBlank) {