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

Method Success

assertion.go:224–224  ·  view source on GitHub ↗

Invoked every time when an assertion succeeded. May ignore failure, or log it, e.g. using t.Logf().

(*AssertionContext)

Source from the content-addressed store, hash-verified

222 // Invoked every time when an assertion succeeded.
223 // May ignore failure, or log it, e.g. using t.Logf().
224 Success(*AssertionContext)
225
226 // Invoked every time when an assertion failed.
227 // Handling depends on Failure.Severity field:

Callers 2

leaveMethod · 0.65
TestAssertion_HandlerFunction · 0.65

Implementers 4

errorSuppressore2e/context_test.go

Calls

no outgoing calls

Tested by 1

TestAssertion_HandlerFunction · 0.52