(structValidation *StructValidation, configData interface{}, expectedTypeInstance interface{}, t *testing.T)
| 1035 | } |
| 1036 | |
| 1037 | func testConfigError(structValidation *StructValidation, configData interface{}, expectedTypeInstance interface{}, t *testing.T) { |
| 1038 | config := reflect.New(reflect.TypeOf(expectedTypeInstance).Elem()).Interface() |
| 1039 | errs := Struct(config, configData, structValidation) |
| 1040 | require.NotEmpty(t, errs) |
| 1041 | } |
no test coverage detected