Formatter is used to format assertion messages into strings.
| 27 | |
| 28 | // Formatter is used to format assertion messages into strings. |
| 29 | type Formatter interface { |
| 30 | FormatSuccess(*AssertionContext) string |
| 31 | FormatFailure(*AssertionContext, *AssertionFailure) string |
| 32 | } |
| 33 | |
| 34 | // DefaultFormatter is the default Formatter implementation. |
| 35 | // |