You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Correlating failures with individual test cases is hard with the current API.
59
-
// See https://github.com/golang/go/issues/61758
60
-
iferr!=nil {
61
-
iferr, ok:=err.(interface {
62
-
Unwrap() []error
63
-
}); ok {
64
-
for_, err:=rangeerr.Unwrap() {
65
-
if!containsOne(err.Error(),
66
-
"a Handler should ignore a zero Record.Time", // zapr always writes a time field.
67
-
"a Handler should not output groups for an empty Record", // Relies on WithGroup and that always opens a group. Text may change, see https://go.dev/cl/516155
68
-
) {
69
-
t.Errorf("Unexpected error: %v", err)
70
-
}
71
-
}
72
-
return
73
-
}
74
-
// Shouldn't be reached, errors from errors.Join can be split up.
0 commit comments