diff --git a/validator_test.go b/validator_test.go index 1fbdeb7..c586b00 100644 --- a/validator_test.go +++ b/validator_test.go @@ -230,6 +230,7 @@ func TestValidate__validateStruct(t *testing.T) { assert.Greater(t, len(errs), 0) } else { assert.Equal(t, 0, len(errs)) + assert.Nil(t, errs) } })