add call to SetMaxStructPoolSize in test to ensure continued 100% test coverage

pull/70/head
joeybloggs 10 years ago
parent fcbf6b65e4
commit f4837a073b
  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