@ -44,12 +44,9 @@ func (ve ValidationErrors) Error() string {
buff := bytes.NewBufferString("")
var fe *fieldError
for i := 0; i < len(ve); i++ {
fe = ve[i].(*fieldError)
buff.WriteString(fe.Error())
buff.WriteString(ve[i].Error())
buff.WriteString("\n")
}
@ -8996,6 +8996,7 @@ func TestTranslationFieldErrors(t *testing.T) {
selfErr = append(selfErr, SelfError{e})
NotEqual(t, selfErr.Error(), "")
Equal(t, selfErr.Translate(trans), ValidationErrorsTranslations{
"": " is a required field",
})