MCPcopy Index your code
hub / github.com/gavv/httpexpect / Formatter

Interface Formatter

formatter.go:29–32  ·  view source on GitHub ↗

Formatter is used to format assertion messages into strings.

Source from the content-addressed store, hash-verified

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

Callers 5

SuccessMethod · 0.65
SuccessMethod · 0.65
FailureMethod · 0.65
FailureMethod · 0.65
FailureMethod · 0.65

Implementers 2

mockFormattermocks_test.go
DefaultFormatterformatter.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…