(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestPanicFormattingCustomError(t *testing.T) { |
| 38 | type CustomError struct{ error } |
| 39 | customError := &CustomError{errors.New("oh noooooo!")} |
| 40 | assertPanicMessage(t, func() { panic(customError) }, customError.Error()) |
| 41 | } |
| 42 | |
| 43 | func TestPanicFormattingInvokeResponse_Error(t *testing.T) { |
| 44 | ive := &messages.InvokeResponse_Error{Message: "message", Type: "type"} |
nothing calls this directly
no test coverage detected
searching dependent graphs…