Merge pull request #70 from joeybloggs/v5-development

add call to SetMaxStructPoolSize in test to ensure continued 100% tes…
pull/71/head
Dean Karn 10 years ago
commit be66dfe125
  1. 2
      validator_test.go

@ -2044,6 +2044,8 @@ func TestFlattening(t *testing.T) {
func TestStructStringValidation(t *testing.T) { func TestStructStringValidation(t *testing.T) {
validate.SetMaxStructPoolSize(11)
tSuccess := &TestString{ tSuccess := &TestString{
Required: "Required", Required: "Required",
Len: "length==10", Len: "length==10",

Loading…
Cancel
Save