Success implements AssertionHandler.Success.
(ctx *AssertionContext)
| 853 | |
| 854 | // Success implements AssertionHandler.Success. |
| 855 | func (h *contextAssertionHandler) Success(ctx *AssertionContext) { |
| 856 | if h.Formatter == nil { |
| 857 | panic("DefaultAssertionHandler.Formatter is nil") |
| 858 | } |
| 859 | h.Formatter.FormatSuccess(ctx) |
| 860 | h.AssertionContext = ctx |
| 861 | } |
| 862 | |
| 863 | // Failure implements AssertionHandler.Failure. |
| 864 | func (h *contextAssertionHandler) Failure( |
nothing calls this directly
no test coverage detected