From f4837a073b044868f79c4320b753ca2781b95f29 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Mon, 8 Jun 2015 21:46:08 -0400 Subject: [PATCH] add call to SetMaxStructPoolSize in test to ensure continued 100% test coverage --- validator_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator_test.go b/validator_test.go index b9ff595..aa8c749 100644 --- a/validator_test.go +++ b/validator_test.go @@ -2044,6 +2044,8 @@ func TestFlattening(t *testing.T) { func TestStructStringValidation(t *testing.T) { + validate.SetMaxStructPoolSize(11) + tSuccess := &TestString{ Required: "Required", Len: "length==10",